Package com.semedy.reasoner.api.edb
Interface PrimaryIndex
public interface PrimaryIndex
- Author:
- angele
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addTuple
(int tuple) boolean
addTuple
(TupleBuffer tuple) boolean
containsTuple
(long[] values) returns true if there exist matching valuesboolean
containsTuple
(TupleBuffer values) returns true if there exist matching valueselements()
int[]
boolean
removeTuple
(int i) int
-
Method Details
-
addTuple
- Throws:
IOException
-
addTuple
- Throws:
IOException
-
sizeInBytes
int sizeInBytes() -
elements
TupleEnumerator elements() -
containsTuple
returns true if there exist matching values- Parameters:
values
- , values for indexed positions- Returns:
- boolean, true if there exist matching values
- Throws:
IOException
-
containsTuple
returns true if there exist matching values- Parameters:
values
- , values for indexed positions- Returns:
- boolean, true if there exist matching values
- Throws:
IOException
-
removeTuple
boolean removeTuple(int i) -
getIndexedPositions
int[] getIndexedPositions()
-