Package | Description |
---|---|
com.bigdata.bfs |
This package provides a scale-out content repository (aka distributed file
system) suitable as the backend for a REST-ful service using the bigdata
architecture.
|
com.bigdata.bop.join | |
com.bigdata.btree |
The
BTree is a scalable B+-Tree with copy-on-write
semantics mapping variable length unsigned byte[] keys to variable
length byte[] values (null values are allowed). |
com.bigdata.btree.keys | |
com.bigdata.rdf.inf |
This package provides an eager closure inference engine for most of the RDF and
RDFS entailments and can be used to realize entailments for owl:sameAs, owl:equivilentClass,
and owl:equivilentProperty.
|
com.bigdata.rdf.internal |
This package provides an internal representation of RDF Values.
|
com.bigdata.rdf.internal.impl | |
com.bigdata.rdf.internal.impl.bnode | |
com.bigdata.rdf.lexicon | |
com.bigdata.rdf.relation.rule | |
com.bigdata.rdf.spo |
This package defines a statement model using long term identifiers rather than
RDF Value objects.
|
com.bigdata.resources |
This package provides the logic to managed the live journal and the
historical journals and index segments for a
DataService . |
com.bigdata.search |
This package provides full text indexing and search.
|
com.bigdata.sparse |
This package provides support for treating normal B+Trees using a
"sparse row store" pattern and can be applied to both local B+Trees
and scale-out indices.
|
com.bigdata.striterator |
Streaming iterator patterns based on Martyn Cutcher's striterator design
but supporting generics and with extensions for closable, chunked, and
ordered streaming iterators.
|
Modifier and Type | Method and Description |
---|---|
protected long |
AtomicBlockAppendProc.getNextBlockFromPriorKey(IKeyBuilder keyBuilder,
byte[] key)
Decode the block identifier in the key and return the block
identifier plus one, which is the block identifier to be used for the
atomic append operation.
|
protected long |
AtomicBlockAppendProc.getNextBlockIdentifierInFileVersion(IIndex ndx,
IKeyBuilder keyBuilder)
Find the key for the last block written for this file version.
|
protected long |
AtomicBlockAppendProc.getNextBlockIdentifierInFileVersion2(IIndex ndx,
IKeyBuilder keyBuilder)
Find the key for the last block written for this file version.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
HTreePipelinedHashJoinUtility.joinsWith(HTreeHashJoinUtility.BS bs,
IKeyBuilder keyBuilder,
HTree htree)
Checks whether bs joins with the given htree.
|
protected boolean |
HTreePipelinedHashJoinUtility.joinsWith(HTreeHashJoinUtility.BS bs,
IKeyBuilder keyBuilder,
HTree rightSolutions,
HTree rightSolutionsWithoutSubqueryResult)
Checks whether bs joins with rightSolutions or rightSolutionsWithoutSubqueryResult.
|
Modifier and Type | Field and Description |
---|---|
protected IKeyBuilder |
AbstractBTreeTestCase.keyBuilder |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
DefaultTupleSerializer.getKeyBuilder()
A thread-local
IKeyBuilder instance. |
IKeyBuilder |
ITupleSerializer.getKeyBuilder()
Factory for thread-safe
IKeyBuilder objects for use by
ITupleSerializer.serializeKey(Object) and possibly others. |
IKeyBuilder |
IndexMetadata.getKeyBuilder()
Factory for thread-safe
IKeyBuilder objects for use by
ITupleSerializer.serializeKey(Object) and possibly others. |
IKeyBuilder |
DefaultTupleSerializer.getPrimaryKeyBuilder() |
IKeyBuilder |
IndexMetadata.getPrimaryKeyBuilder() |
Modifier and Type | Class and Description |
---|---|
class |
KeyBuilder
A class that may be used to form multi-component keys but which does not
support Unicode.
|
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
IKeyBuilder.append(BigDecimal d)
Encode a
BigDecimal into an unsigned byte[] and append it into
the key buffer. |
IKeyBuilder |
IKeyBuilder.append(BigInteger i)
Encode a
BigInteger into an unsigned byte[] and append it into
the key buffer. |
IKeyBuilder |
IKeyBuilder.append(byte b)
Appends a byte - the byte is treated as an
unsigned value. |
IKeyBuilder |
IKeyBuilder.append(byte[] a)
Appends an array of bytes - the bytes are treated as
unsigned values. |
IKeyBuilder |
IKeyBuilder.append(byte[] a,
int off,
int len)
Append len bytes starting at off in a to the key
buffer - the bytes are treated as
unsigned values. |
IKeyBuilder |
IKeyBuilder.append(double d)
Appends a double precision floating point value by first converting it
into a signed long integer using
Double.doubleToLongBits(double) ,
converting that values into a twos-complement number and then appending
the bytes in big-endian order into the key buffer. |
IKeyBuilder |
IKeyBuilder.append(float f)
Appends a single precision floating point value by first converting it
into a signed integer using
Float.floatToIntBits(float)
converting that values into a twos-complement number and then appending
the bytes in big-endian order into the key buffer. |
IKeyBuilder |
IKeyBuilder.append(int v)
Appends a signed integer to the key by first converting it to a
lexiographic ordering as an unsigned integer and then appending it into
the buffer as 4 bytes using a big-endian order.
|
IKeyBuilder |
IKeyBuilder.append(long v)
Appends a signed long integer to the key by first converting it to a
lexiographic ordering as an unsigned long integer and then appending it
into the buffer as 8 bytes using a big-endian order.
|
IKeyBuilder |
IKeyBuilder.append(Object val)
Append the value to the buffer, encoding it as appropriate based on the
class of the object.
|
IKeyBuilder |
IKeyBuilder.append(short v)
Appends a signed short integer to the key by first converting it to a
two-complete representation supporting unsigned byte[] comparison and
then appending it into the buffer as 2 bytes using a big-endian order.
|
IKeyBuilder |
IKeyBuilder.append(String s)
Encodes a Unicode string using the configured
KeyBuilder.Options.COLLATOR
and appends the resulting sort key to the buffer (without a trailing nul
byte). |
IKeyBuilder |
IKeyBuilder.append(UUID uuid)
Appends the UUID to the key using the MSB and then the LSB (this
preserves the natural order imposed by
UUID.compareTo(UUID) ). |
IKeyBuilder |
IKeyBuilder.appendASCII(String s)
Encodes a unicode string by assuming that its contents are ASCII
characters.
|
IKeyBuilder |
IKeyBuilder.appendNul()
Append an unsigned zero byte to the key.
|
IKeyBuilder |
IKeyBuilder.appendSigned(byte v)
Converts the signed byte to an unsigned byte and appends it to the key.
|
IKeyBuilder |
IKeyBuilder.appendText(String text,
boolean unicode,
boolean successor)
Encodes a variable length text field into the buffer.
|
IKeyBuilder |
ASCIIKeyBuilderFactory.getKeyBuilder() |
IKeyBuilder |
IKeyBuilderFactory.getKeyBuilder()
Return an instance of the configured
IKeyBuilder . |
IKeyBuilder |
DefaultKeyBuilderFactory.getKeyBuilder() |
IKeyBuilder |
ThreadLocalKeyBuilderFactory.getKeyBuilder()
Return an instance of the configured
IKeyBuilder . |
IKeyBuilder |
ASCIIKeyBuilderFactory.getPrimaryKeyBuilder()
Return an instance of the configured
IKeyBuilder that has been
overridden to have StrengthEnum.Primary collation strength. |
IKeyBuilder |
IKeyBuilderFactory.getPrimaryKeyBuilder()
Return an instance of the configured
IKeyBuilder that has been
overridden to have StrengthEnum.Primary collation strength. |
IKeyBuilder |
DefaultKeyBuilderFactory.getPrimaryKeyBuilder() |
IKeyBuilder |
ThreadLocalKeyBuilderFactory.getPrimaryKeyBuilder()
Return an instance of the configured
IKeyBuilder that has been
overridden to have StrengthEnum.Primary collation strength. |
static IKeyBuilder |
KeyBuilder.newInstance()
Create an instance for ASCII keys.
|
static IKeyBuilder |
KeyBuilder.newInstance(int initialCapacity)
Create an instance for ASCII keys with the specified initial capacity.
|
static IKeyBuilder |
KeyBuilder.newInstance(int capacity,
CollatorEnum collatorChoice,
Locale locale,
Object strength,
DecompositionEnum mode)
Create a new instance that optionally supports Unicode sort keys.
|
static IKeyBuilder |
KeyBuilder.newUnicodeInstance()
Create a factory for
IKeyBuilder instances configured using the
system properties. |
static IKeyBuilder |
KeyBuilder.newUnicodeInstance(Properties properties)
Create a factory for
IKeyBuilder instances configured according
to the specified properties. |
IKeyBuilder |
IKeyBuilder.reset()
Reset the key length to zero before building another key.
|
Modifier and Type | Method and Description |
---|---|
void |
IKeyBuilderExtension.encode(IKeyBuilder keyBuilder,
V obj)
Encode the object.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Justification.getKey(IKeyBuilder keyBuilder,
Justification jst)
Serialize a justification as an index key.
|
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
IV.encode(IKeyBuilder keyBuilder)
Encode the
IV as an unsigned byte[]. |
static IKeyBuilder |
IVUtility.encode(IKeyBuilder keyBuilder,
IV iv)
Encode an RDF value into a key for one of the statement indices.
|
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
IV.encode(IKeyBuilder keyBuilder)
Encode the
IV as an unsigned byte[]. |
static IKeyBuilder |
IVUtility.encode(IKeyBuilder keyBuilder,
IV iv)
Encode an RDF value into a key for one of the statement indices.
|
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
TermId.encode(IKeyBuilder keyBuilder) |
IKeyBuilder |
AbstractIV.encode(IKeyBuilder keyBuilder) |
IKeyBuilder |
BlobIV.encode(IKeyBuilder keyBuilder)
Encode the
IV as an unsigned byte[]. |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
TermId.encode(IKeyBuilder keyBuilder) |
IKeyBuilder |
AbstractIV.encode(IKeyBuilder keyBuilder) |
IKeyBuilder |
BlobIV.encode(IKeyBuilder keyBuilder)
Encode the
IV as an unsigned byte[]. |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
SidIV.encode(IKeyBuilder keyBuilder)
Encode this internal value into the supplied key builder.
|
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
SidIV.encode(IKeyBuilder keyBuilder)
Encode this internal value into the supplied key builder.
|
Modifier and Type | Field and Description |
---|---|
IKeyBuilder |
LexiconKeyBuilder.keyBuilder |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
BlobsIndexHelper.newKeyBuilder()
Return a new
IKeyBuilder suitable for formatting keys for the
TERMS index. |
Modifier and Type | Method and Description |
---|---|
int |
BlobsIndexHelper.addBNode(IIndex ndx,
IKeyBuilder keyBuilder,
byte[] baseKey,
byte[] val,
byte[] tmp)
Add an entry for a
BNode to the TERMS index (do NOT use when told
blank node semantics apply). |
protected void |
LexiconKeyOrder.appendKeyComponent(IKeyBuilder keyBuilder,
int i,
Object keyComponent)
Encodes an value into the key.
|
void |
IVDocIdExtension.encode(IKeyBuilder keyBuilder,
IV obj) |
byte[] |
BlobsIndexHelper.lookup(IIndex ndx,
BlobIV<?> iv,
IKeyBuilder keyBuilder)
Return the value associated with the
BlobIV in the TERMS index. |
byte[] |
BlobsIndexHelper.makeKey(IKeyBuilder keyBuilder,
byte[] baseKey,
int counter)
Create a fully formed key for the TERMS index from a baseKey and a hash
collision counter.
|
byte[] |
BlobsIndexHelper.makeKey(IKeyBuilder keyBuilder,
VTE vte,
int hashCode,
int counter)
Create a fully formed key for the TERMS index from the
VTE , the
hashCode of the BigdataValue , and the hash collision counter. |
byte[] |
BlobsIndexHelper.makePrefixKey(IKeyBuilder keyBuilder,
BigdataValue value)
Create a prefix key for the TERMS index from the
BigdataValue . |
byte[] |
BlobsIndexHelper.makePrefixKey(IKeyBuilder keyBuilder,
VTE vte,
int hashCode)
Create a prefix key for the TERMS index from the
VTE and hashCode
of the BigdataValue . |
int |
BlobsIndexHelper.resolveOrAddValue(IIndex termsIndex,
boolean readOnly,
IKeyBuilder keyBuilder,
byte[] baseKey,
byte[] val,
byte[] tmp,
AtomicInteger bucketSize)
Resolve an existing record in the TERMS index and insert the record if
none is found.
|
Constructor and Description |
---|
LexiconKeyBuilder(IKeyBuilder keyBuilder)
Normally invoked by
Term2IdTupleSerializer.getLexiconKeyBuilder() |
Constructor and Description |
---|
BindingSetSortKeyBuilder(IKeyBuilder keyBuilder,
IVariable[] vars) |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
SPOKeyOrder.appendKey(IKeyBuilder keyBuilder,
ISPO spo)
Appends the key for a given index order into the
IKeyBuilder . |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
SPOKeyOrder.appendKey(IKeyBuilder keyBuilder,
ISPO spo)
Appends the key for a given index order into the
IKeyBuilder . |
protected void |
SPOKeyOrder.appendKeyComponent(IKeyBuilder keyBuilder,
int index,
Object keyComponent) |
byte[] |
SPOKeyOrder.encodeKey(IKeyBuilder keyBuilder,
ISPO spo)
Forms the key for a given index order (the
SPOTupleSerializer
delegates its behavior to this method). |
byte[] |
SPOKeyOrder.getFromKey(IKeyBuilder keyBuilder,
IPredicate<ISPO> predicate)
Return the inclusive lower bound which would be used for a query against
this
IKeyOrder for the given IPredicate . |
byte[] |
SPOKeyOrder.getToKey(IKeyBuilder keyBuilder,
IPredicate<ISPO> predicate)
Return the exclusive upper bound which would be used for a query against
this
IKeyOrder for the given IPredicate . |
Modifier and Type | Method and Description |
---|---|
IKeyBuilder |
AbstractResourceManagerTestCase.MockFederation.getKeyBuilder() |
Modifier and Type | Method and Description |
---|---|
protected IKeyBuilder |
TestKeyBuilder.getKeyBuilder()
Return a suitable
IKeyBuilder . |
protected IKeyBuilder |
FullTextIndex.getKeyBuilder()
Return a
ThreadLocal IKeyBuilder instance configured to
support full text indexing and search. |
Modifier and Type | Method and Description |
---|---|
protected IKeyBuilder |
Schema.appendPrimaryKey(IKeyBuilder keyBuilder,
Object v,
boolean successor)
Helper method appends a typed value to the compound key (this is used to
get the primary key into the compound key).
|
protected IKeyBuilder |
Schema.fromKey(IKeyBuilder keyBuilder,
Object primaryKey)
Forms the key in
#keyBuilder that should be used as the first key
(inclusive) for a range query that will visit all index entries for the
specified primary key. |
Modifier and Type | Method and Description |
---|---|
protected IKeyBuilder |
Schema.appendPrimaryKey(IKeyBuilder keyBuilder,
Object v,
boolean successor)
Helper method appends a typed value to the compound key (this is used to
get the primary key into the compound key).
|
protected void |
TestKeyEncodeDecode.doKeyDecodeTest(IKeyBuilder keyBuilder)
Test helper verifies that we can correctly locate the start of the column
name and decode the key when using a given
IKeyBuilder . |
protected IKeyBuilder |
Schema.fromKey(IKeyBuilder keyBuilder,
Object primaryKey)
Forms the key in
#keyBuilder that should be used as the first key
(inclusive) for a range query that will visit all index entries for the
specified primary key. |
byte[] |
Schema.getKey(IKeyBuilder keyBuilder,
Object primaryKey,
String col,
long timestamp)
Encodes a key for the
Schema . |
byte[] |
Schema.getPrefix(IKeyBuilder keyBuilder,
Object primaryKey)
The prefix that identifies all tuples in the logical row for this schema
having the indicated value for their primary key.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractKeyOrder.appendKeyComponent(IKeyBuilder keyBuilder,
int index,
Object keyComponent)
Encodes an value into the key.
|
byte[] |
AbstractKeyOrder.getFromKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate) |
byte[] |
IKeyOrder.getFromKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate)
Return the inclusive lower bound which would be used for a query against
this
IKeyOrder for the given IPredicate . |
byte[] |
AbstractKeyOrder.getKey(IKeyBuilder keyBuilder,
E element)
Return the key for an element of the relation.
|
byte[] |
IKeyOrder.getKey(IKeyBuilder keyBuilder,
E element)
Return the key for an element of the relation.
|
byte[] |
AbstractKeyOrder.getToKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate) |
byte[] |
IKeyOrder.getToKey(IKeyBuilder keyBuilder,
IPredicate<E> predicate)
Return the exclusive upper bound which would be used for a query against
this
IKeyOrder for the given IPredicate . |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.