|
Oracle NoSQL Database Examples version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexternaltables.MyFormatter
public class MyFormatter
A simple Formatter implementation used by the External Tables Cookbook
example. This class formats UserInfo records from the NoSQL Database to be
suitable for reading by the NOSQL_DATA Oracle Database table. The Formatter.toOracleLoaderFormat(oracle.kv.KeyValueVersion, oracle.kv.KVStore)
method accepts a KeyValueVersion
and returns a String which can be interpreted by
the ACCESS PARAMETERS of the External Table definition.
Method Summary | |
---|---|
String |
toOracleLoaderFormat(KeyValueVersion kvv,
KVStore kvStore)
Convert a KeyValueVersion into a String which can be interpreted by the Oracle External Table definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String toOracleLoaderFormat(KeyValueVersion kvv, KVStore kvStore)
oracle.kv.exttab.Formatter
toOracleLoaderFormat
in interface Formatter
kvv
- the Key and Value to be formatted.kvStore
- the KV Store object related to this record so that the
Formatter may retrieve (e.g.) Avro bindings.
|
Oracle NoSQL Database Examples version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |