Uses of Interface
com.bigdata.btree.keys.IKeyBuilder

Packages that use IKeyBuilder
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.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.btree.proc   
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.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. 
 

Uses of IKeyBuilder in com.bigdata.bfs
 

Methods in com.bigdata.bfs with parameters of type IKeyBuilder
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.
 

Uses of IKeyBuilder in com.bigdata.btree
 

Methods in com.bigdata.btree that return IKeyBuilder
 IKeyBuilder IndexMetadata.getKeyBuilder()
           Factory for thread-safe IKeyBuilder objects for use by ITupleSerializer.serializeKey(Object) and possibly others.
 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.
 

Uses of IKeyBuilder in com.bigdata.btree.keys
 

Classes in com.bigdata.btree.keys that implement IKeyBuilder
 class KeyBuilder
          A class that may be used to form multi-component keys but which does not support Unicode.
 

Methods in com.bigdata.btree.keys that return IKeyBuilder
 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 ThreadLocalKeyBuilderFactory.getKeyBuilder()
          Return a ThreadLocal IKeyBuilder instance configured using the IKeyBuilderFactory specified to the ctor.
 IKeyBuilder DefaultKeyBuilderFactory.getKeyBuilder()
           
 IKeyBuilder IKeyBuilderFactory.getKeyBuilder()
          Return an instance of the configured IKeyBuilder.
 IKeyBuilder ASCIIKeyBuilderFactory.getKeyBuilder()
           
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.
 

Methods in com.bigdata.btree.keys with parameters of type IKeyBuilder
 void IKeyBuilderExtension.encode(IKeyBuilder keyBuilder, V obj)
          Encode the object.
 

Uses of IKeyBuilder in com.bigdata.btree.proc
 

Methods in com.bigdata.btree.proc that return IKeyBuilder
protected  IKeyBuilder AbstractIndexProcedure.getKeyBuilder(IIndex ndx)
          Return the thread-local key builder configured for the IIndex
 

Uses of IKeyBuilder in com.bigdata.rdf.inf
 

Methods in com.bigdata.rdf.inf with parameters of type IKeyBuilder
static byte[] Justification.getKey(IKeyBuilder keyBuilder, Justification jst)
          Serialize a justification as an index key.
 

Uses of IKeyBuilder in com.bigdata.rdf.internal
 

Methods in com.bigdata.rdf.internal that return IKeyBuilder
 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.
 

Methods in com.bigdata.rdf.internal with parameters of type IKeyBuilder
 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.
 

Uses of IKeyBuilder in com.bigdata.rdf.internal.impl
 

Methods in com.bigdata.rdf.internal.impl that return IKeyBuilder
 IKeyBuilder TermId.encode(IKeyBuilder keyBuilder)
           
 IKeyBuilder AbstractIV.encode(IKeyBuilder keyBuilder)
           
 IKeyBuilder BlobIV.encode(IKeyBuilder keyBuilder)
          Encode the IV as an unsigned byte[].
 

Methods in com.bigdata.rdf.internal.impl with parameters of type IKeyBuilder
 IKeyBuilder TermId.encode(IKeyBuilder keyBuilder)
           
 IKeyBuilder AbstractIV.encode(IKeyBuilder keyBuilder)
           
 IKeyBuilder BlobIV.encode(IKeyBuilder keyBuilder)
          Encode the IV as an unsigned byte[].
 

Uses of IKeyBuilder in com.bigdata.rdf.internal.impl.bnode
 

Methods in com.bigdata.rdf.internal.impl.bnode that return IKeyBuilder
 IKeyBuilder SidIV.encode(IKeyBuilder keyBuilder)
          Encode this internal value into the supplied key builder.
 

Methods in com.bigdata.rdf.internal.impl.bnode with parameters of type IKeyBuilder
 IKeyBuilder SidIV.encode(IKeyBuilder keyBuilder)
          Encode this internal value into the supplied key builder.
 

Uses of IKeyBuilder in com.bigdata.rdf.lexicon
 

Fields in com.bigdata.rdf.lexicon declared as IKeyBuilder
 IKeyBuilder LexiconKeyBuilder.keyBuilder
           
 

Methods in com.bigdata.rdf.lexicon that return IKeyBuilder
 IKeyBuilder BlobsIndexHelper.newKeyBuilder()
          Return a new IKeyBuilder suitable for formatting keys for the TERMS index.
 

Methods in com.bigdata.rdf.lexicon with parameters of type IKeyBuilder
 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.
 

Constructors in com.bigdata.rdf.lexicon with parameters of type IKeyBuilder
LexiconKeyBuilder(IKeyBuilder keyBuilder)
          Normally invoked by Term2IdTupleSerializer.getLexiconKeyBuilder()
 

Uses of IKeyBuilder in com.bigdata.rdf.relation.rule
 

Constructors in com.bigdata.rdf.relation.rule with parameters of type IKeyBuilder
BindingSetSortKeyBuilder(IKeyBuilder keyBuilder, IVariable[] vars)
           
 

Uses of IKeyBuilder in com.bigdata.rdf.spo
 

Methods in com.bigdata.rdf.spo with parameters of type 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.
 

Uses of IKeyBuilder in com.bigdata.search
 

Methods in com.bigdata.search that return IKeyBuilder
protected  IKeyBuilder FullTextIndex.getKeyBuilder()
          Return a ThreadLocal IKeyBuilder instance configured to support full text indexing and search.
 

Uses of IKeyBuilder in com.bigdata.sparse
 

Methods in com.bigdata.sparse that return IKeyBuilder
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.
 

Methods in com.bigdata.sparse with parameters of type IKeyBuilder
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.
 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.
 

Uses of IKeyBuilder in com.bigdata.striterator
 

Methods in com.bigdata.striterator with parameters of type IKeyBuilder
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-2011 SYSTAP, LLC. All Rights Reserved.