public class IndexSerializer extends Object
Constructor and Description |
---|
IndexSerializer(Configuration config,
Serializer serializer,
Map<String,? extends IndexInformation> indexes,
boolean hashKeys) |
public IndexSerializer(Configuration config, Serializer serializer, Map<String,? extends IndexInformation> indexes, boolean hashKeys)
public boolean containsIndex(String indexName)
public String getDefaultFieldName(PropertyKey key, Parameter[] parameters, String indexName)
public static void clearStore(MixedIndexType index, BackendTransaction tx) throws BackendException
BackendException
public static void register(MixedIndexType index, PropertyKey key, BackendTransaction tx) throws BackendException
BackendException
public boolean supports(MixedIndexType index, ParameterIndexField field)
public boolean supports(MixedIndexType index, ParameterIndexField field, JanusGraphPredicate predicate)
public boolean supportsExistsQuery(MixedIndexType index, ParameterIndexField field)
public IndexFeatures features(MixedIndexType index)
public IndexInfoRetriever getIndexInfoRetriever(StandardJanusGraphTx tx)
public Collection<IndexUpdate> getIndexUpdates(InternalRelation relation)
public Collection<IndexUpdate> getIndexUpdates(InternalVertex vertex, Collection<InternalRelation> updatedProperties)
public Collection<IndexUpdate> getIndexUpdatesNoConstraints(InternalRelation relation)
public Collection<IndexUpdate> getIndexUpdatesNoConstraints(InternalVertex vertex, Collection<InternalRelation> updatedProperties)
public Collection<IndexUpdate> getIndexUpdates(InternalRelation relation, IndexAppliesToFunction indexFilter)
public Collection<IndexUpdate> getIndexUpdates(InternalVertex vertex, Collection<InternalRelation> updatedProperties, IndexAppliesToFunction indexFilter)
public boolean reindexElement(JanusGraphElement element, MixedIndexType index, Map<String,Map<String,List<IndexEntry>>> documentsPerStore)
public void removeElement(Object elementId, MixedIndexType index, Map<String,Map<String,List<IndexEntry>>> documentsPerStore)
public Set<IndexUpdate<StaticBuffer,Entry>> reindexElement(JanusGraphElement element, CompositeIndexType index)
public Stream<Object> query(JointIndexQuery.Subquery query, BackendTransaction tx)
public Number queryAggregation(JointIndexQuery.Subquery query, BackendTransaction tx, Aggregation aggregation)
public MultiKeySliceQuery getQuery(CompositeIndexType index, List<Object[]> values)
public IndexQuery getQuery(MixedIndexType index, Condition condition, OrderList orders)
public Stream<RawQuery.Result> executeQuery(IndexQueryBuilder query, ElementCategory resultType, BackendTransaction backendTx, StandardJanusGraphTx transaction)
public Long executeTotals(IndexQueryBuilder query, ElementCategory resultType, BackendTransaction backendTx, StandardJanusGraphTx transaction)
public long getIndexIdFromKey(StaticBuffer key)
public boolean isHashKeys()
public HashingUtil.HashLength getHashLength()
Copyright © 2012–2024. All rights reserved.