Uses of Interface
com.semedy.reasoner.api.edb.TupleBuffer
Package
Description
-
Uses of TupleBuffer in com.semedy.reasoner.api.builtin
Modifier and TypeMethodDescriptionvoid
BuiltinReceiver.send
(TupleBuffer buffer) gets the results of a built-in.void
CollectorBuiltinReceiver.send
(TupleBuffer buffer) -
Uses of TupleBuffer in com.semedy.reasoner.api.core
Modifier and TypeMethodDescriptionabstract void
EventResultReceiver.receiveResult
(TupleBuffer result) a new result has been receivedvoid
MaterializationReceiver.receiveResult
(TupleBuffer result) Receive a new result as a tuple of codes.void
StoreEventResultReceiver.receiveResult
(TupleBuffer result) Receive a new result as a tuple of codes. -
Uses of TupleBuffer in com.semedy.reasoner.api.edb
Modifier and TypeMethodDescriptionTupleEnumerator.getBuffer()
get a buffer where the elements are insertedBaseRelation.overwriteTuple
(TupleBuffer tuple) Overwrite last argument of tuple.Modifier and TypeMethodDescriptionboolean
BaseRelation.addTuple
(TupleBuffer tuple) add a tuple to the relationboolean
ExtensionalDB.addTuple
(String predicate, TupleBuffer tuple) add tuple to edb.boolean
Partitioning.addTuple
(TupleBuffer tuple, boolean add) add or delete a tuple from the partition relationboolean
PrimaryIndex.addTuple
(TupleBuffer tuple) int
TupleBufferComparator.compare
(TupleBuffer tuple1, long[] tuple2) compare a buffer with a tuple as arrayint
TupleBufferComparator.compare
(TupleBuffer tuple1, TupleBuffer tuple2) compare two buffersboolean
BaseRelation.containsTuple
(TupleBuffer tuple) Is tuple contained in relation?boolean
Index.containsTuple
(TupleBuffer values) returns true if there exist matching valuesboolean
PrimaryIndex.containsTuple
(TupleBuffer values) returns true if there exist matching valuesvoid
SortedIndexEnumerator.nextElement
(TupleBuffer tuple) Search for an tuple equal or greater to tuple.
Returns next tuple in buffer.BaseRelation.overwriteTuple
(TupleBuffer tuple) Overwrite last argument of tuple.boolean
BaseRelation.removeTuple
(TupleBuffer tuple) remove a tuple from the relationboolean
ExtensionalDB.removeTuple
(String predicate, TupleBuffer tuple) remove a tuple from edb.Partitioning.search4Relation
(TupleBuffer tuple, boolean create) search for corresponding relationIndex.selectMatchingTuples
(TupleBuffer values) returns an enumerator for matching tuples -
Uses of TupleBuffer in com.semedy.reasoner.api.reasoning
Modifier and TypeMethodDescriptionboolean
Receiver.receiveTuple
(TupleBuffer tuple) receive a single tuple -
Uses of TupleBuffer in com.semedy.reasoner.api.symboltable
Modifier and TypeMethodDescriptionboolean
SymbolTable.matchArguments
(Object t, TupleBuffer groundtermarguments, long[] substitutions) -
Uses of TupleBuffer in com.semedy.reasoner.builtin.directfilter
Modifier and TypeMethodDescriptionboolean
IsNotFunctional2.receiveTuple
(TupleBuffer buffer) boolean
IsNotFunctional3.receiveTuple
(TupleBuffer buffer) -
Uses of TupleBuffer in com.semedy.reasoner.core
Modifier and TypeMethodDescriptionvoid
EmptyEventResultReceiver.receiveResult
(TupleBuffer result) boolean
IntermediateResultProducer.receiveTuple
(TupleBuffer tuple) boolean
IntermediateResultProducer.receiveTupleWOCheck
(TupleBuffer tuple) ModifierConstructorDescriptionResultBufferNotThreaded
(TupleBuffer buffer, int length, SymbolTable symbols, List<String> variableNames) -
Uses of TupleBuffer in com.semedy.reasoner.edb
-
Uses of TupleBuffer in com.semedy.reasoner.edb.persistentstore
Modifier and TypeFieldDescriptionBPlusTree<long[],
TupleBuffer> BplusBlob._keys
the bplus tree for symbolsBPlusTree<long[],
TupleBuffer> BplusIndexLongs._keys
the bplus tree for symbolsModifier and TypeMethodDescriptionEnumeratorOneElement.getBuffer()
PersistentTuplesEnumerator.getBuffer()
PersistentRelation.overwriteTuple
(TupleBuffer tuple) Modifier and TypeMethodDescriptionBPlusTree<long[],
TupleBuffer> BulkLoadConsumer.getBTree()
BPlusTree<long[],
TupleBuffer> BplusBlob.getKeys()
BPlusTree<long[],
TupleBuffer> BplusIndexLongs.getKeys()
BPlusTree<long[],
TupleBuffer> PersistentRelation.getPrimaryKey()
Modifier and TypeMethodDescriptionboolean
PersistentRelation.addTuple
(TupleBuffer tuple) void
PersistentSecondarySortedIndex.addTuple
(TupleBuffer buffer) boolean
BplusBlob.containsKey
(TupleBuffer key) boolean
BplusIndexLongs.containsKeyLongs
(TupleBuffer key) boolean
PersistentRelation.containsTuple
(TupleBuffer tpl) boolean
PersistentSecondarySortedIndex.containsTuple
(TupleBuffer values) BplusIndexLongs.getLongsBuffer
(TupleBuffer key) PersistentRelation.overwriteTuple
(TupleBuffer tuple) boolean
PersistentRelation.removeTuple
(TupleBuffer tuple) void
PersistentSecondarySortedIndex.removeTuple
(TupleBuffer tuple) boolean
PersistentSecondarySortedIndex.replaceNotIndexedValues
(TupleBuffer oldTuple, TupleBuffer newTuple) Modify tuple in index at non indexed positions.PersistentSecondarySortedIndex.selectMatchingTuples
(TupleBuffer values) void
TupleFile.write
(TupleBuffer tuple) append tuple (as tuple buffer) to tuple fileModifierConstructorDescriptionBplusBlob
(BPlusTree<long[], TupleBuffer> btreelong) BplusIndexLongs
(BPlusTree<long[], TupleBuffer> btreelong) BulkLoadConsumer
(BPlusTree<long[], TupleBuffer> btree, int arity, int[] toCopyOut, int[] directEncodedArguments) PersistentSecondarySortedIndex
(PersistentRelation persistentTuples, BPlusTree<long[], TupleBuffer> btreelong, FileName name, boolean compress) PersistentSecondarySortedIndex
(PersistentRelation persistentTuples, BPlusTree<long[], TupleBuffer> btreelong, FileName name, int[] indexedpositions, boolean compress) PersistentTuplesEnumerator
(int arity, long[] grounds, BPlusTree<long[], TupleBuffer> bplustree) -
Uses of TupleBuffer in com.semedy.reasoner.edb.persistentstore.bplustree
Modifier and TypeMethodDescriptionBPlusKeys<long[],
TupleBuffer> KeysFactoryFixedLong.createKeys()
create new keys for fixed long tuplesstatic BPlusLeaf<long[],
TupleBuffer> BPlusLeaf.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeafRecords<long[],
TupleBuffer> BPlusLeafRecords.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(byte[] bytes, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsBPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(byte[] bytes, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsBPlusKeys<long[],
TupleBuffer> KeysFactoryFixedLong.createLongerKeys()
BPlusKeys<long[],
TupleBuffer> BPlusKeysFixedLong.splitLeft
(int number, int n) BPlusKeys<long[],
TupleBuffer> BPlusKeysFixedLong.splitRight
(int index, int n) Modifier and TypeMethodDescriptionint
BPlusKeysFixedLong.compareBuffer
(TupleBuffer key, int index) int
BPlusKeysFixedLong.compareBuffer
(TupleBuffer key, int index, int[] ix) void
BPlusKeysFixedLong.getBuffer
(int i, TupleBuffer result, BPlusNode<long[], TupleBuffer> node) void
BPlusKeysFixedLong.replaceByBuffer
(TupleBuffer replacement, int indexToReplace) int
BPlusKeysFixedLong.searchBuffer
(TupleBuffer key, boolean indicateNotContained, boolean indicateContained) int
BPlusKeysFixedLong.searchBuffer
(TupleBuffer key, int[] index, int begin, boolean indicateNotContained, boolean next) int
BPlusKeysFixedLong.searchBuffer
(TupleBuffer key, int begin, boolean indicateNotContained) Modifier and TypeMethodDescriptionvoid
BPlusKeysFixedLong.copy
(BPlusKeys<long[], TupleBuffer> b, int numKey) static BPlusLeaf<long[],
TupleBuffer> BPlusLeaf.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeaf<long[],
TupleBuffer> BPlusLeaf.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeafIndex
BPlusLeafIndex.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, DataFile bufferFile, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeafIndex
BPlusLeafIndex.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, DataFile bufferFile, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeafRecords<long[],
TupleBuffer> BPlusLeafRecords.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.static BPlusLeafRecords<long[],
TupleBuffer> BPlusLeafRecords.createLeaf
(byte[] bytes, KeysFactory<long[], TupleBuffer> keysFactory, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(byte[] bytes, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsBPlusLeaf<long[],
TupleBuffer> LeafFactoryFixedLong.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsLeafFactoryFixedLongIndex.createLeaf
(byte[] bytes, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.LeafFactoryFixedLongIndex.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) LeafFactoryFixedLongIndex.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) LeafFactoryFixedLongIndex.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsLeafFactoryFixedLongIndex.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsBPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(byte[] bytes, BPlusTree<long[], TupleBuffer> bplustree) Method for creating a leaf from the given byte array.BPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, long[] records, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsBPlusLeafRecords<long[],
TupleBuffer> LeafFactoryFixedLongRecords.createLeaf
(BPlusKeys<long[], TupleBuffer> keys, BPlusTree<long[], TupleBuffer> bplustree) create new leafsvoid
BPlusKeysFixedLong.getBuffer
(int i, TupleBuffer result, BPlusNode<long[], TupleBuffer> node) ModifierConstructorDescriptionBPlusLeafIndex
(BPlusKeys<long[], TupleBuffer> keys, int nodelength, DataFile _bufferFile2, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafIndex
(BPlusKeys<long[], TupleBuffer> keys, int nodelength, DataFile _bufferFile2, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafIndex
(BPlusKeys<long[], TupleBuffer> keys, long[] records, int maxSizeInBytes, DataFile bufferfile, BPlusTree<long[], TupleBuffer> bplustree) BPlusLeafIndex
(BPlusKeys<long[], TupleBuffer> keys, long[] records, int maxSizeInBytes, DataFile bufferfile, BPlusTree<long[], TupleBuffer> bplustree) -
Uses of TupleBuffer in com.semedy.reasoner.edb.ramstore
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeMethodDescriptionEmptyTuplesEnumerator.getBuffer()
MainMemoryBaseRelation.overwriteTuple
(TupleBuffer tuple) MainMemoryRelation.overwriteTuple
(TupleBuffer buffer) Modifier and TypeMethodDescriptionboolean
HashIndex.addTuple
(TupleBuffer tuple) boolean
MainMemoryBaseRelation.addTuple
(TupleBuffer terms) boolean
MainMemoryRelation.addTuple
(TupleBuffer tuple) boolean
MainMemorySubRelation.addTuple
(TupleBuffer tuple) boolean
MixedRelation.addTuple
(TupleBuffer buf) int
TupleComparator.compare
(TupleBuffer buffer1, long[] buffer2) int
TupleComparator.compare
(TupleBuffer buffer1, TupleBuffer buffer2) int
TupleSelectComparator.compare
(TupleBuffer o1, long[] buffer) int
TupleSelectComparator.compare
(TupleBuffer o1, TupleBuffer o2) int
TupleSymbolComparator.compare
(TupleBuffer buffer1, long[] buffer2) int
TupleSymbolComparator.compare
(TupleBuffer buffer1, TupleBuffer buffer2) boolean
AVLTree.containsTuple
(TupleBuffer values) boolean
HashIndex.containsTuple
(TupleBuffer tuple) boolean
InvertedList.containsTuple
(TupleBuffer values) boolean
MainMemoryBaseRelation.containsTuple
(TupleBuffer tuple) boolean
MainMemoryRelation.containsTuple
(TupleBuffer t) int
LinkedTupleLists.getTuple
(TupleBuffer tuple, int list) boolean
HashIndex.hasSelectMatchingTuples
(TupleBuffer values) int
TupleStore.newTuple
(TupleBuffer buf) create a new tuple and copy buf into that tuple and return the addressMainMemoryBaseRelation.overwriteTuple
(TupleBuffer tuple) MainMemoryRelation.overwriteTuple
(TupleBuffer buffer) boolean
MainMemoryBaseRelation.removeTuple
(TupleBuffer terms) boolean
MainMemoryRelation.removeTuple
(TupleBuffer buffer) boolean
MainMemorySubRelation.removeTuple
(TupleBuffer tuple) boolean
MixedRelation.removeTuple
(TupleBuffer buf) int
LinkedTupleLists.searchEntry
(TupleBuffer tuple, int list) AVLTree.selectMatchingTuples
(TupleBuffer values) HashIndex.selectMatchingTuples
(TupleBuffer values) InvertedList.selectMatchingTuples
(TupleBuffer values) void
TupleBufferGrounds.setBaseBuffer
(TupleBuffer buffer) void
TupleBufferLongMappedGrounds.setBaseBuffer
(TupleBuffer buffer) ModifierConstructorDescriptionTupleBufferGrounds
(long[] grounds, int arity, TupleBuffer buffer) TupleBufferLongMappedGrounds
(int[] map, long[] grounds, int arity, TupleBuffer buffer) -
Uses of TupleBuffer in com.semedy.reasoner.edb.zdb
Modifier and TypeMethodDescriptionvoid
InvertedIndices.addTuple
(Object[] args, TupleBuffer codes) -
Uses of TupleBuffer in com.semedy.reasoner.reasoning
-
Uses of TupleBuffer in com.semedy.reasoner.reasoning.monitor
Modifier and TypeMethodDescriptionboolean
ReasoningMonitorRelation.addTuple
(TupleBuffer terms) boolean
RelationAdapter.addTuple
(TupleBuffer terms) boolean
RelationAdapter.containsTuple
(TupleBuffer tuple) RelationAdapter.overwriteTuple
(TupleBuffer buffer) boolean
ReasoningMonitorRelation.removeTuple
(TupleBuffer buffer) boolean
RelationAdapter.removeTuple
(TupleBuffer buffer) -
Uses of TupleBuffer in com.semedy.reasoner.reasoning.processes
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionSortedEnumeratorOneToOne.getBuffer()
SortedIndexEnumeratorOneToOne.getBuffer()
TupleEnumeratorCrossProduct.getBuffer()
TupleEnumeratorOneToOneJoin.getBuffer()
TupleEnumeratorOneToOneJoinRelation.getBuffer()
CrossProductBaseRelation.overwriteTuple
(TupleBuffer buffer) Modifier and TypeMethodDescriptionboolean
CrossProductBaseRelation.addTuple
(TupleBuffer terms) boolean
ReasoningRelation.addTuple
(TupleBuffer tuple) boolean
SwappableIncrementalRelation.addTuple
(TupleBuffer tuple) boolean
SwappableRelation.addTuple
(TupleBuffer tuple) add a tupleboolean
SwappableIncrementalRelation.addTupleMM
(TupleBuffer tuple) boolean
SwappableIncrementalRelation.addTupleP
(TupleBuffer tuple) boolean
CrossProductBaseRelation.containsTuple
(TupleBuffer terms) boolean
ReasoningSymbolTableNotInternalize.matchArguments
(Object t, TupleBuffer groundtermarguments, long[] substitutions) void
SortedIndexEnumeratorOneToOne.nextElement
(TupleBuffer tuple) CrossProductBaseRelation.overwriteTuple
(TupleBuffer buffer) boolean
BufferedStore.receiveTuple
(TupleBuffer tuple) boolean
EmptyStore.receiveTuple
(TupleBuffer tuple) boolean
Encoder.receiveTuple
(TupleBuffer tuple) boolean
End.receiveTuple
(TupleBuffer tuple) boolean
EventReceiver.receiveTuple
(TupleBuffer tuple) boolean
ProcessImp.receiveTuple
(TupleBuffer tuple) final boolean
ResultReceiver.receiveTuple
(TupleBuffer tuple) boolean
Scatter.receiveTuple
(TupleBuffer tuple) boolean
SetConstants.receiveTuple
(TupleBuffer tuple) boolean
CrossProductBaseRelation.removeTuple
(TupleBuffer buffer) boolean
ReasoningRelation.removeTuple
(TupleBuffer tuple) void
ExecuteDirectFilterBuiltin.DirectFilterBuiltinReceiver.send
(TupleBuffer buffer) void
TupleBufferLongMappedGrounds.setBaseBuffer
(TupleBuffer buffer) void
TupleBufferLongFilter.setBuffer
(TupleBuffer buffer, int startInBuffer) ModifierConstructorDescriptionTupleBufferLongFilter
(long[] filter, TupleBuffer buffer, int startInBuffer, int len) TupleBufferLongMappedGrounds
(int[] map, long[] grounds, int arity, TupleBuffer buffer) -
Uses of TupleBuffer in com.semedy.reasoner.symboltable
Modifier and TypeMethodDescriptionboolean
AbstractSymbolTable.matchArguments
(Object t, TupleBuffer groundtermarguments, long[] substitutions) -
Uses of TupleBuffer in com.semedy.reasoner.utils
Modifier and TypeMethodDescriptionstatic void
ConversionUtils.longsToBytes
(TupleBuffer l, byte[] bArray) static byte[]
ConversionUtils.longsToBytes
(TupleBuffer l, int len) static byte[]
ConversionUtils.longsToBytes
(TupleBuffer l, int offset, int len)