public abstract class BcElementMapperBase<KEYIN,VALUEIN> extends ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>
GRAPH_CONFIG_PREFIX| Constructor and Description |
|---|
BcElementMapperBase() |
| Modifier and Type | Method and Description |
|---|---|
com.mware.ge.id.IdGenerator |
getIdGenerator() |
protected org.apache.hadoop.io.Text |
getKey(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
com.mware.ge.store.mutations.StoreMutation m) |
protected void |
map(KEYIN key,
VALUEIN line,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected abstract void |
safeMap(KEYIN key,
VALUEIN line,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
saveDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text dataTableName,
com.mware.ge.store.mutations.StoreMutation m) |
protected void |
saveEdgeMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text edgesTableName,
com.mware.ge.store.mutations.StoreMutation m) |
protected void |
saveVertexMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text verticesTableName,
com.mware.ge.store.mutations.StoreMutation m) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
addEdge, getGraph, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareEdge, prepareVertex, prepareVertex, prepareVertex, saveExtendedDataMutationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalterConceptType, alterEdgeLabel, alterElementPropertyVisibilities, alterElementVisibility, alterPropertyMetadatas, deleteProperty, getGeSerializer, getHistoricalPropertyValues, invalidateElementFromCache, markPropertyHidden, markPropertyVisible, saveExtendedDataMutations, saveProperties, softDeleteProperties, softDeletePropertyaddEdge, addEdge, addEdge, addGraphEventListener, addVertex, addVertex, addVertices, createAuthorizations, createAuthorizations, createAuthorizations, createAuthorizations, defineProperty, deleteEdge, deleteEdge, deleteElement, deleteElements, deleteExtendedDataRow, deleteVertex, deleteVertex, doEdgesExist, doEdgesExist, doesEdgeExist, doesVertexExist, doVerticesExist, drop, dumpGraph, ensurePropertyDefined, filterEdgeIdsByAuthorization, filterVertexIdsByAuthorization, findPaths, findPaths, findPaths, findPaths, findPaths, findRelatedEdgeIds, findRelatedEdgeIds, findRelatedEdgeIdsForVertices, findRelatedEdges, findRelatedEdges, findRelatedEdgeSummary, findRelatedEdgeSummary, findRelatedEdgeSummaryForVertices, flush, getDefaultFetchHints, getEdge, getEdge, getEdge, getEdgeCount, getEdges, getEdges, getEdges, getEdges, getEdges, getEdges, getEdgesInRange, getEdgesInRange, getEdgesInRange, getElement, getElement, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedData, getExtendedDataForElements, getExtendedDataForElements, getExtendedDataForElements, getExtendedDataForElements, getExtendedDataInRange, getMetadata, getMetadata, getMetadataWithPrefix, getMetricsRegistry, getNameSubstitutionStrategy, getPropertyDefinition, getPropertyDefinitions, getSearchIndexSecurityGranularity, getStreamingPropertyValueInputStreams, getVertex, getVertex, getVertex, getVertexCount, getVertexIds, getVertexPropertyCountByValue, getVertices, getVertices, getVertices, getVertices, getVertices, getVertices, getVerticesInOrder, getVerticesInOrder, getVerticesInRange, getVerticesInRange, getVerticesInRange, getVerticesWithPrefix, getVerticesWithPrefix, getVerticesWithPrefix, isFieldBoostSupported, isPropertyDefined, isQuerySimilarToTextSupported, isVisibilityValid, markEdgeHidden, markEdgeVisible, markVertexHidden, markVertexVisible, prepareEdge, prepareEdge, prepareVertex, prepareVertex, query, query, query, query, querySimilarTo, reindex, reloadMetadata, removeGraphEventListener, removeMetadata, removePropertyDefinition, saveElementMutations, savePropertyDefinition, setMetadata, shutdown, softDeleteEdge, softDeleteEdge, softDeleteEdge, softDeleteEdge, softDeleteVertex, softDeleteVertex, softDeleteVertex, softDeleteVertex, truncate, visit, visitEdges, visitElements, visitVerticesprotected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>IOExceptionInterruptedExceptionprotected abstract void safeMap(KEYIN key, VALUEIN line, org.apache.hadoop.mapreduce.Mapper.Context context) throws Exception
Exceptionprotected void saveDataMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text dataTableName,
com.mware.ge.store.mutations.StoreMutation m)
throws IOException,
InterruptedException
saveDataMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>IOExceptionInterruptedExceptionprotected void saveEdgeMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text edgesTableName,
com.mware.ge.store.mutations.StoreMutation m)
throws IOException,
InterruptedException
saveEdgeMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>IOExceptionInterruptedExceptionprotected void saveVertexMutation(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text verticesTableName,
com.mware.ge.store.mutations.StoreMutation m)
throws IOException,
InterruptedException
saveVertexMutation in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>IOExceptionInterruptedExceptionprotected org.apache.hadoop.io.Text getKey(org.apache.hadoop.mapreduce.Mapper.Context context,
org.apache.hadoop.io.Text tableName,
com.mware.ge.store.mutations.StoreMutation m)
public com.mware.ge.id.IdGenerator getIdGenerator()
getIdGenerator in interface com.mware.ge.GraphgetIdGenerator in class ElementMapper<KEYIN,VALUEIN,org.apache.hadoop.io.Text,com.mware.ge.store.mutations.StoreMutation>Copyright © 2016–2020 MWARE SOLUTIONS. All rights reserved.