public class GraphEdgeWriter extends DefaultEdgeOperation implements EdgeWriter
DefaultEdgeOperation.KeyBytesbaseTypeQual, charset, collectionBaseType, collectionDefaultSubType, collectionPath, columnKeyFeildDelim, columnKeyFeildDelimRegexp, countQual, countQualStr, family, graphConfig, keysQual, keysQualStr, pathQual, pathQualStr, rowKeys, rowOperation, sequences, sequencesQual, sequencesQualStr, sourceProp, sourceType, subTypeQual, tableConfig, TYPE_DELIM, TYPE_DELIM_REGEXP, typeQualStr| Modifier and Type | Method and Description |
|---|---|
void |
add(org.plasma.sdo.PlasmaDataObject newValue) |
void |
addAll(org.plasma.sdo.PlasmaNode dataNode,
List<org.plasma.sdo.PlasmaEdge> edges) |
void |
delete() |
RowWriter |
getRowWriter() |
TableWriter |
getTableWriter() |
void |
merge(org.plasma.sdo.PlasmaNode dataNode,
HashSet<org.plasma.sdo.PlasmaDataObject> oldValues,
List<org.plasma.sdo.PlasmaEdge> currentEdges)
Determines which object the user intentionally removed and/or added based
on the change summary of the client graph.
|
void |
remove(org.plasma.sdo.PlasmaDataObject oldValue) |
void |
replace(org.plasma.sdo.PlasmaDataObject oldValue,
org.plasma.sdo.PlasmaDataObject newValue) |
void |
write() |
decodeCollectionBaseType, decodeDefaultSubType, decodeRowKeys, decodeSequences, decodeType, encodeCollectionBaseType, encodeDefaultSubType, encodeRowKeys, encodeSequences, encodeType, fetchValue, fetchValue, fetchValue, findValue, findValue, findValue, getBaseType, getCount, getPath, getRowKeys, getSequences, getSourceProp, getSubType, getTable, getTargetType, hasSequence, isExternal, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseType, getCount, getPath, getRowKeys, getSequences, getSubType, getTable, hasSequence, isExternalpublic RowWriter getRowWriter()
getRowWriter in interface EdgeWriterpublic TableWriter getTableWriter()
getTableWriter in interface EdgeWriterpublic void replace(org.plasma.sdo.PlasmaDataObject oldValue,
org.plasma.sdo.PlasmaDataObject newValue)
throws IOException
replace in interface EdgeWriterIOExceptionpublic void remove(org.plasma.sdo.PlasmaDataObject oldValue)
throws IOException
remove in interface EdgeWriterIOExceptionpublic void add(org.plasma.sdo.PlasmaDataObject newValue)
throws IOException
add in interface EdgeWriterIOExceptionpublic void addAll(org.plasma.sdo.PlasmaNode dataNode,
List<org.plasma.sdo.PlasmaEdge> edges)
throws IOException
addAll in interface EdgeWriterIOExceptionpublic void merge(org.plasma.sdo.PlasmaNode dataNode,
HashSet<org.plasma.sdo.PlasmaDataObject> oldValues,
List<org.plasma.sdo.PlasmaEdge> currentEdges)
throws IOException
EdgeWriterNote: the client edge collection can be the results from a slice query where not all the collection results are returned. We don't want to remove what we DON'T find in the commit graph in this case.
merge in interface EdgeWriterIOExceptionpublic void write()
throws IOException
write in interface EdgeWriterIOExceptionpublic void delete()
throws IOException
delete in interface EdgeWriterIOExceptionCopyright © 2021. All Rights Reserved.