Package | Description |
---|---|
org.hypergraphdb |
Welcome to HyperGraphDB
|
org.hypergraphdb.atom | |
org.hypergraphdb.indexing | |
org.hypergraphdb.query | |
org.hypergraphdb.query.impl | |
org.hypergraphdb.storage | |
org.hypergraphdb.type |
Modifier and Type | Interface and Description |
---|---|
interface |
HGBidirectionalIndex<KeyType,ValueType>
A
HGBidirectionalIndex provides efficient searching of an
index entry by value as well as by key. |
interface |
HGSortIndex<KeyType,ValueType>
A
HGSortIndex is a HGIndex that maintains its
keys in an order relation. |
Modifier and Type | Method and Description |
---|---|
<KeyType,ValueType> |
HGIndexManager.getIndex(HGIndexer<?,?> indexer)
Retrieve the storage
HGIndex associated to the passed-in
HGIndexer . |
<KeyType,ValueType> |
HGStore.getIndex(String name)
Get the HyperGraphDB index with the given name.
|
<KeyType,ValueType> |
HGStore.getIndex(String name,
ByteArrayConverter<KeyType> keyConverter,
ByteArrayConverter<ValueType> valueConverter,
Comparator<byte[]> comparator,
boolean allowCreate)
Retrieve an
HGIndex by its name. |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByType()
Return the predefined index from types to atoms.
|
HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGIndexManager.getIndexByValue()
Return the predefined index from values to atoms.
|
<KeyType,ValueType> |
HGIndexManager.register(HGIndexer<?,?> indexer)
Possibly create a new index based on the specified
IndexDescriptor . |
Modifier and Type | Method and Description |
---|---|
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
static HGIndex<HGPersistentHandle,HGPersistentHandle> |
HGSubgraph.getReverseIndex(HyperGraph atGraph)
DO NOT USE: internal method, implementation dependent, may disappear at any time.
|
Modifier and Type | Method and Description |
---|---|
void |
HGKeyIndexer.index(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,HGPersistentHandle> index) |
void |
HGValueIndexer.index(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,ValueType> index) |
void |
HGIndexer.index(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,ValueType> index)
Add a particular atom the the index.
|
void |
HGKeyIndexer.unindex(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,HGPersistentHandle> index) |
void |
HGValueIndexer.unindex(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,ValueType> index) |
void |
HGIndexer.unindex(HyperGraph graph,
HGHandle atomHandle,
Object atom,
HGIndex<KeyType,ValueType> index)
Remove a particular from the index, assuming it is currently being indexed.
|
Modifier and Type | Method and Description |
---|---|
HGIndex<Key,Value> |
IndexCondition.getIndex() |
HGIndex<?,?> |
IndexedPartCondition.getIndex() |
Modifier and Type | Method and Description |
---|---|
void |
IndexedPartCondition.setIndex(HGIndex<?,?> idx) |
void |
IndexCondition.setIndex(HGIndex<Key,Value> idx) |
Constructor and Description |
---|
IndexCondition(HGIndex<Key,Value> idx,
Key key) |
IndexCondition(HGIndex<Key,Value> idx,
Key key,
ComparisonOperator op) |
IndexCondition(HGIndex<Key,Value> idx,
Ref<Key> key,
ComparisonOperator op) |
IndexedPartCondition(HGHandle type,
HGIndex<?,?> idx,
Object partValue,
ComparisonOperator operator) |
IndexedPartCondition(HGHandle type,
HGIndex<?,?> idx,
Ref<Object> partValue,
ComparisonOperator operator) |
Constructor and Description |
---|
IndexBasedQuery(HGIndex<? extends Object,? extends Object> index,
Object key) |
IndexBasedQuery(HGIndex<Object,Object> index,
IndexBasedQuery.ScanType scanType)
Construct a query that will scan the whole index - either its keys or its
values depending on the
scanKeys parameter. |
IndexBasedQuery(HGIndex<Object,Object> index,
Object key,
ComparisonOperator operator) |
IndexBasedQuery(HGIndex<Object,Object> index,
Ref<Object> key,
ComparisonOperator operator) |
IndexScanQuery(HGIndex<Key,Value> idx,
boolean returnKeys) |
Modifier and Type | Method and Description |
---|---|
<KeyType,ValueType> |
StorageWithAnnotatedIncidence.getIndex(String name) |
<KeyType,ValueType> |
HGStoreImplementation.getIndex(String name)
Get the HyperGraphDB index with the given name.
|
<KeyType,ValueType> |
StorageWithAnnotatedIncidence.getIndex(String name,
ByteArrayConverter<KeyType> keyConverter,
ByteArrayConverter<ValueType> valueConverter,
Comparator<?> comparator,
boolean isBidirectional,
boolean createIfNecessary) |
<KeyType,ValueType> |
HGStoreImplementation.getIndex(String name,
ByteArrayConverter<KeyType> keyConverter,
ByteArrayConverter<ValueType> valueConverter,
Comparator<?> comparator,
boolean isBidirectional,
boolean createIfNecessary)
Retrieve the index with the given name, or create a new index if no index with
that name exists.
|
Constructor and Description |
---|
DBKeyedSortedSet(HGIndex<Key,T> idx,
Key key) |
DBKeyedSortedSet(HGIndex<Key,T> idx,
Key key,
Comparator<T> comparator) |
Modifier and Type | Field and Description |
---|---|
protected HGIndex<String,HGPersistentHandle> |
JavaObjectMapper.idx |
Modifier and Type | Method and Description |
---|---|
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getFloatingIdx() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getHardIdx() |
protected HGIndex<String,HGPersistentHandle> |
JavaObjectMapper.getIndex() |
HGIndex<HGPersistentHandle,HGPersistentHandle> |
AtomRefType.getSymbolicIdx() |
Copyright © 2015. All rights reserved.