Package | Description |
---|---|
oracle.kv.exttab |
This package contains the public API and Utilities for accessing
Oracle NoSQL Database data through Oracle Database External
Tables.
|
oracle.kv.table |
Table support for Oracle NoSQL Database.
|
Modifier and Type | Method and Description |
---|---|
String |
TableFormatter.toOracleLoaderFormat(Row row,
KVStore kvstore)
Converts a Row into a String which can be interpreted by the Oracle
External Table definition.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PrimaryKey
PrimaryKey is a specialization of Row to represent a primary key used to
access records in a table using the
TableAPI . |
interface |
ReturnRow
ReturnRow is used with put and delete operations to return the previous row
value and version.
|
Modifier and Type | Method and Description |
---|---|
Row |
FieldValue.asRow()
Casts to Row.
|
Row |
Row.clone()
Returns a deep copy of this object.
|
Row |
Table.createRow()
Creates an empty Row for the table that can hold any field value.
|
Row |
Table.createRow(RecordValue value)
Creates a Row for the table populated with relevant fields from the
RecordValue parameter. |
Row |
Table.createRowFromJson(InputStream jsonInput,
boolean exact)
Creates a Row based on JSON input.
|
Row |
Table.createRowFromJson(String jsonInput,
boolean exact)
Creates a Row based on JSON string input.
|
Row |
Table.createRowWithDefaults()
Creates a Row using the default values for all fields.
|
Row |
TableAPI.get(PrimaryKey key,
ReadOptions readOptions)
Gets the
Row associated with the primary key. |
Row |
TableOperationResult.getPreviousRow()
For a put or delete operation, the previous value associated with
the row.
|
Row |
TableOperation.getRow()
Returns the Row associated with the operation if it is a put operation,
otherwise return null.
|
Modifier and Type | Method and Description |
---|---|
List<Row> |
TableAPI.multiGet(PrimaryKey key,
MultiRowOptions getOptions,
ReadOptions readOptions)
Returns the rows associated with a partial primary key in an
atomic manner.
|
TableIterator<Row> |
TableAPI.tableIterator(IndexKey key,
MultiRowOptions getOptions,
TableIteratorOptions iterateOptions)
Returns an iterator over the rows associated with an index key.
|
TableIterator<Row> |
TableAPI.tableIterator(PrimaryKey key,
MultiRowOptions getOptions,
TableIteratorOptions iterateOptions)
Returns an iterator over the rows associated with a partial primary key.
|
Modifier and Type | Method and Description |
---|---|
TableOperation |
TableOperationFactory.createPut(Row row,
ReturnRow.Choice prevReturn,
boolean abortIfUnsuccessful)
Create a Put operation suitable for use as an argument to the
execute method. |
TableOperation |
TableOperationFactory.createPutIfAbsent(Row row,
ReturnRow.Choice prevReturn,
boolean abortIfUnsuccessful)
Create a Put operation suitable for use as an argument to the
execute method. |
TableOperation |
TableOperationFactory.createPutIfPresent(Row row,
ReturnRow.Choice prevReturn,
boolean abortIfUnsuccessful)
Create a Put operation suitable for use as an argument to the
execute method. |
TableOperation |
TableOperationFactory.createPutIfVersion(Row row,
Version versionMatch,
ReturnRow.Choice prevReturn,
boolean abortIfUnsuccessful)
Create a Put operation suitable for use as an argument to the
execute method. |
static int |
TableUtils.getDataSize(Row row)
Returns the size of the serialized data for the row.
|
static int |
TableUtils.getKeySize(Row row)
Returns the size of the serialized primary key for this row.
|
Version |
TableAPI.put(Row row,
ReturnRow prevRow,
WriteOptions writeOptions)
Puts a row into a table.
|
Version |
TableAPI.putIfAbsent(Row row,
ReturnRow prevRow,
WriteOptions writeOptions)
Puts a row into a table, but only if the row does not exist.
|
Version |
TableAPI.putIfPresent(Row row,
ReturnRow prevRow,
WriteOptions writeOptions)
Puts a row into a table, but only if the row already exists.
|
Version |
TableAPI.putIfVersion(Row row,
Version matchVersion,
ReturnRow prevRow,
WriteOptions writeOptions)
Puts a row, but only if the version of the existing row matches the
matchVersion argument.
|
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.