public interface TableFormatter
toOracleLoaderFormat(Row, KVStore)is called once for each row retrieved from Oracle NoSQL Database table by the NoSQL Database External Table preprocessor
Preproc. The String value returned by
toOracleLoaderFormat(Row, KVStore)is written to stdout where it is then read by Oracle Database for insertion into the External Table being populated. The String returned should match the format specified in the External Table ACCESS PARAMETERS.
A null return value or an exception from
toOracleLoaderFormat(Row, KVStore) signals to the preprocessor
that this record should be skipped and not be written to stdout. This
provides a simple selection and filtering mechanism beyond the parameters
that can be passed to the Preprocessor using the Publish utility.
row- the Row from Oracle NoSQL Database table to be formatted.
kvstore- the KV Store object related to this row so that the TableFormatter may retrieve.
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.