public interface DistributedReader extends DistributedGraphOperation
Acts as a container for one or more TableReader elements
encapsulating a set of component table reader operations for federation
across multiple tables, or a single table in the most simple (degenerate)
case.
GraphTableReader,
GraphTable| Modifier and Type | Method and Description |
|---|---|
void |
addTableReader(TableReader reader)
Adds the given table reader to the container
|
void |
clear()
Frees resources associated with this reader and any component readers.
|
TableReader |
getRootTableReader()
Returns the table reader associated with the data graph root.
|
RowReader |
getRowReader(commonj.sdo.DataObject dataObject)
Returns the row reader associated with the given data object
|
TableReader |
getTableReader(QName qualifiedTypeName)
Returns the table reader for the given qualified type name.
|
TableReader |
getTableReader(String tableName)
Returns the table reader for the given configured table name.
|
int |
getTableReaderCount()
Returns the count of table readers for this container.
|
List<TableReader> |
getTableReaders()
Returns all table readers for the this container
|
List<commonj.sdo.Type> |
getTypes(TableReader operation)
Returns a list of types associated with the given table operation.
|
void |
mapRowReader(byte[] rowKey,
RowReader rowReader) |
void |
mapRowReader(commonj.sdo.DataObject dataObject,
RowReader rowReader) |
void |
mapRowReader(long dataObjectSequence,
org.plasma.sdo.PlasmaType type,
RowReader rowReader) |
void |
setRootTableReader(TableReader reader)
Sets the table reader associated with the data graph root.
|
close, getConnection, getMappingContext, hasSingleRootTypeTableReader getTableReader(String tableName)
tableName - the name of the configured table.TableReader getTableReader(QName qualifiedTypeName)
qualifiedTypeName - the qualified type name.void addTableReader(TableReader reader)
reader - the table reader.int getTableReaderCount()
List<TableReader> getTableReaders()
TableReader getRootTableReader()
void setRootTableReader(TableReader reader)
reader - the table readerRowReader getRowReader(commonj.sdo.DataObject dataObject)
dataObject - the data objectIllegalArgumentException - if the given data object is not associated with any row reader.void mapRowReader(commonj.sdo.DataObject dataObject,
RowReader rowReader)
void mapRowReader(long dataObjectSequence,
org.plasma.sdo.PlasmaType type,
RowReader rowReader)
void mapRowReader(byte[] rowKey,
RowReader rowReader)
List<commonj.sdo.Type> getTypes(TableReader operation)
reader - the table operationvoid clear()
Copyright © 2021. All Rights Reserved.