| Modifier and Type | Field and Description |
|---|---|
protected ServiceContext |
context |
protected org.plasma.sdo.core.SnapshotMap |
snapshotMap |
protected String |
username |
| Constructor and Description |
|---|
Delete(ServiceContext context,
org.plasma.sdo.core.SnapshotMap snapshotMap,
String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
DistributedWriter graphWriter,
TableWriter tableWriter,
RowWriter rowWriter)
Interprets mutations from the data given data object (entity) as registered
in the associated graph change summary, and collects these into a service
specific mutation, an HBase row mutation in this case.
|
protected List<org.plasma.sdo.PlasmaEdge> |
findOwnedEdges(org.plasma.sdo.PlasmaNode dataNode,
commonj.sdo.Property property,
List<org.plasma.sdo.PlasmaEdge> edges,
DistributedWriter graphWriter,
RowWriter rowWriter)
Deprecated.
|
protected HashMap<String,commonj.sdo.DataObject> |
getOldEdgeMap(Object oldValue,
commonj.sdo.Property property) |
void |
init(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
Performs any initialization for the specific mutation to be preformed.
|
void |
setup(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
Performs any changes on managed properties such as concurrent or locking or
other, etc..
|
protected void |
setupOptimistic(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
org.plasma.sdo.PlasmaType type,
long sequence,
RowWriter rowWriter) |
protected void |
setupOrigination(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
org.plasma.sdo.PlasmaType type,
long sequence,
RowWriter rowWriter) |
protected String |
toString(Map<String,commonj.sdo.DataObject> map) |
void |
validate(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
Checks for a valid mutation such as no read-only properties being modified
and all mandatory properties being set, etc..
|
protected void |
validateModifications(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter) |
protected org.plasma.sdo.core.SnapshotMap snapshotMap
protected String username
protected ServiceContext context
public Delete(ServiceContext context, org.plasma.sdo.core.SnapshotMap snapshotMap, String username)
public void init(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
throws IllegalAccessException,
IOException
Mutationinit in interface MutationdataGraph - the data graphdataObject - the data objectrowWriter - the row writerIllegalAccessExceptionIOExceptionpublic void validate(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
throws IllegalAccessException
Mutationvalidate in interface MutationdataGraph - the data graphdataObject - the data objectrowWriter - the row writerIllegalAccessExceptionpublic void setup(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
throws IllegalAccessException,
IOException
Mutationsetup in interface MutationdataGraph - the data graphdataObject - the data objectrowWriter - the row writerIllegalAccessExceptionIOExceptionpublic void collect(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
DistributedWriter graphWriter,
TableWriter tableWriter,
RowWriter rowWriter)
throws IOException,
IllegalAccessException
Mutationcollect in interface MutationdataGraph - the data graphdataObject - the data objectgraphWriter - the graph writertableWriter - the table writerrowWriter - the row writerIOExceptionIllegalAccessExceptionprotected HashMap<String,commonj.sdo.DataObject> getOldEdgeMap(Object oldValue, commonj.sdo.Property property)
@Deprecated protected List<org.plasma.sdo.PlasmaEdge> findOwnedEdges(org.plasma.sdo.PlasmaNode dataNode, commonj.sdo.Property property, List<org.plasma.sdo.PlasmaEdge> edges, DistributedWriter graphWriter, RowWriter rowWriter) throws IOException
IOExceptionprotected void setupOptimistic(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
org.plasma.sdo.PlasmaType type,
long sequence,
RowWriter rowWriter)
throws IOException
IOExceptionprotected void setupOrigination(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
org.plasma.sdo.PlasmaType type,
long sequence,
RowWriter rowWriter)
throws IOException
IOExceptionprotected void validateModifications(commonj.sdo.DataGraph dataGraph,
org.plasma.sdo.PlasmaDataObject dataObject,
RowWriter rowWriter)
throws IllegalAccessException
IllegalAccessExceptionCopyright © 2021. All Rights Reserved.