@Override public Iterable<KeyValuePair> getEdgeTableKeyValuePairs() { AccumuloEdge edge = createEdge(new AccumuloAuthorizations()); return getElementMutationBuilder().getEdgeTableKeyValuePairsEdge(edge); }
@Override public Iterable<KeyValuePair> getVertexTableKeyValuePairs() { AccumuloEdge edge = createEdge(new AccumuloAuthorizations()); return getElementMutationBuilder().getVertexTableKeyValuePairsEdge(edge); }
@Override public Iterable<KeyValuePair> getKeyValuePairs() { AccumuloVertex vertex = createVertex(new AccumuloAuthorizations()); return getElementMutationBuilder().getKeyValuePairsForVertex(vertex); }
@SuppressWarnings("unchecked") @Override protected Graph createGraph() throws AccumuloSecurityException, AccumuloException, VertexiumException, InterruptedException, IOException, URISyntaxException { return AccumuloGraph.create(new AccumuloGraphConfiguration(getAccumuloResource().createConfig())); }
StreamingPropertyValueTable(AccumuloGraph graph, String dataRowKey, StreamingPropertyValueTableRef valueRef, long timestamp) { super(valueRef.getValueType()); this.timestamp = timestamp; this.searchIndex(valueRef.isSearchIndex()); this.graph = graph; this.dataRowKey = dataRowKey; this.data = valueRef.getData(); }
public StreamingPropertyValueHdfs(FileSystem fs, Path path, StreamingPropertyValueHdfsRef streamingPropertyValueRef) { super(streamingPropertyValueRef.getValueType()); this.searchIndex(streamingPropertyValueRef.isSearchIndex()); this.fs = fs; this.path = path; }
@Override public Vertex getOtherVertex(String myVertexId, Authorizations authorizations) { return getOtherVertex(myVertexId, getGraph().getDefaultFetchHints(), authorizations); }
@Override public Iterable<Vertex> getVertices(Direction direction, FetchHints fetchHints, final Authorizations authorizations) { return getGraph().getVertices(getVertexIds(direction, authorizations), fetchHints, authorizations); }
private void saveExtendedDataMarkers(Mutation m, Iterable<ExtendedDataMutation> extendedData) { for (TableNameVisibilityPair pair : TableNameVisibilityPair.getUniquePairs(extendedData)) { addExtendedDataMarkerToElementMutation(m, pair); } }
@Override public Edge save(Authorizations authorizations) { saveExistingElementMutation(this, authorizations); return getElement(); } };
@Override public StreamingPropertyValue toStreamingPropertyValue(AccumuloGraph graph, long timestamp) { return new StreamingPropertyValueTable(graph, getDataRowKey(), this, timestamp); } }
@Override public void markPropertyVisible(Property property, Long timestamp, Visibility visibility, Authorizations authorizations) { getGraph().markPropertyVisible(this, property, timestamp, visibility, authorizations); }
@Override public Iterable<KeyValuePair> getEdgeTableKeyValuePairs() { AccumuloEdge edge = createEdge(new AccumuloAuthorizations()); return getElementMutationBuilder().getEdgeTableKeyValuePairsEdge(edge); }
@Override public Iterable<KeyValuePair> getVertexTableKeyValuePairs() { AccumuloEdge edge = createEdge(new AccumuloAuthorizations()); return getElementMutationBuilder().getVertexTableKeyValuePairsEdge(edge); }
@Override public Iterable<KeyValuePair> getKeyValuePairs() { AccumuloVertex vertex = createVertex(new AccumuloAuthorizations()); return getElementMutationBuilder().getKeyValuePairsForVertex(vertex); }
StreamingPropertyValueTable(AccumuloGraph graph, String dataRowKey, StreamingPropertyValueTableRef valueRef, long timestamp) { super(valueRef.getValueType()); this.timestamp = timestamp; this.searchIndex(valueRef.isSearchIndex()); this.graph = graph; this.dataRowKey = dataRowKey; this.data = valueRef.getData(); }
public StreamingPropertyValueHdfs(FileSystem fs, Path path, StreamingPropertyValueHdfsRef streamingPropertyValueRef) { super(streamingPropertyValueRef.getValueType()); this.searchIndex(streamingPropertyValueRef.isSearchIndex()); this.fs = fs; this.path = path; }
private void saveExtendedDataMarkers(Mutation m, Iterable<ExtendedDataMutation> extendedData) { for (TableNameVisibilityPair pair : TableNameVisibilityPair.getUniquePairs(extendedData)) { addExtendedDataMarkerToElementMutation(m, pair); } }
@Override public Edge save(Authorizations authorizations) { saveExistingElementMutation(this, authorizations); return getElement(); } };
@Override public StreamingPropertyValue toStreamingPropertyValue(AccumuloGraph graph, long timestamp) { return new StreamingPropertyValueTable(graph, getDataRowKey(), this, timestamp); } }