private static final MixedIndexType getMixedIndex(String indexName, StandardTitanTx transaction) { IndexType index = ManagementSystem.getGraphIndexDirect(indexName, transaction); Preconditions.checkArgument(index!=null,"Index with name [%s] is unknown or not configured properly",indexName); Preconditions.checkArgument(index.isMixedIndex()); return (MixedIndexType)index; }
@Override public TitanGraphIndex getGraphIndex(String name) { IndexType index = getGraphIndexDirect(name, transaction); return index == null ? null : new TitanGraphIndexWrapper(index); }
@Override public TitanGraphIndex getGraphIndex(String name) { IndexType index = getGraphIndexDirect(name, transaction); return index==null?null:new TitanGraphIndexWrapper(index); }
private static final MixedIndexType getMixedIndex(String indexName, StandardTitanTx transaction) { IndexType index = ManagementSystem.getGraphIndexDirect(indexName, transaction); Preconditions.checkArgument(index!=null,"Index with name [%s] is unknown or not configured properly",indexName); Preconditions.checkArgument(index.isMixedIndex()); return (MixedIndexType)index; }
private static final MixedIndexType getMixedIndex(String indexName, StandardTitanTx transaction) { IndexType index = ManagementSystem.getGraphIndexDirect(indexName, transaction); Preconditions.checkArgument(index!=null,"Index with name [%s] is unknown or not configured properly",indexName); Preconditions.checkArgument(index.isMixedIndex()); return (MixedIndexType)index; }
@Override public TitanGraphIndex getGraphIndex(String name) { IndexType index = getGraphIndexDirect(name, transaction); return index == null ? null : new TitanGraphIndexWrapper(index); }