Package | Description |
---|---|
com.amazon.carbonado.cursor |
Support for advanced processing of cursor results, including basic set
theory operations.
|
com.amazon.carbonado.info |
Introspection support for Storables.
|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
com.amazon.carbonado.raw |
Provides support for repositories that encode/decode storables in a raw
binary format.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
SortedCursor.createComparator(OrderedProperty<S>... properties)
Convenience method to create a comparator which orders storables by the
given properties.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
SortedCursor.createComparator(java.util.List<OrderedProperty<S>> properties)
Convenience method to create a comparator which orders storables by the
given properties.
|
Modifier and Type | Method and Description |
---|---|
OrderedProperty<S> |
OrderedProperty.direction(Direction direction) |
static <S extends Storable> |
OrderedProperty.get(ChainedProperty<S> property,
Direction direction)
Returns a canonical instance.
|
static <S extends Storable> |
OrderedProperty.get(StorableProperty<S> property,
Direction direction)
Returns a canonical instance.
|
OrderedProperty<S>[] |
StorableIndex.getOrderedProperties()
Returns a new array with all the properties in it, with directions
folded in.
|
OrderedProperty<S> |
StorableIndex.getOrderedProperty(int index)
Returns a specific property in this index, with the direction folded in.
|
static <S extends Storable> |
OrderedProperty.parse(StorableInfo<S> info,
java.lang.String str)
Parses an ordering property, which may start with a '+' or '-' to
indicate direction.
|
static <S extends Storable> |
OrderedProperty.parse(StorableInfo<S> info,
java.lang.String str,
Direction defaultDirection)
Parses an ordering property, which may start with a '+' or '-' to
indicate direction.
|
OrderedProperty<S> |
OrderedProperty.reverse() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends OrderedProperty<S>> |
StorableKey.getProperties()
Returns all the properties of the key in a properly ordered,
unmodifiable set.
|
Constructor and Description |
---|
StorableIndex(OrderedProperty<S>[] properties,
Direction direction)
Creates a StorableIndex from OrderedProperties.
|
Modifier and Type | Method and Description |
---|---|
OrderedProperty<S> |
OrderingList.get(int index) |
Modifier and Type | Method and Description |
---|---|
OrderingList<S> |
OrderingList.concat(OrderedProperty<S> property)
Returns a list which concatenates this one with the given property.
|
static <S extends Storable> |
FilteringScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter)
Evaluates the given index properties for its filtering capabilities
against the given filter.
|
static <S extends Storable> |
CompositeScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index properties for its filtering and ordering
capabilities against the given filter and order-by properties.
|
static <S extends Storable> |
OrderingScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index properties for its ordering capabilities
against the given filter and order-by properties.
|
static <S extends Storable> |
OrderingList.get(OrderedProperty<S>... orderings)
Returns a canonical instance composed of the given orderings.
|
OrderingList<S> |
OrderingList.replace(int index,
OrderedProperty<S> property)
Returns a list with the given element replaced.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
OrderingList.get(java.util.List<OrderedProperty<S>> orderings)
Returns a canonical instance composed of the given orderings.
|
Modifier and Type | Method and Description |
---|---|
protected OrderedProperty<S>[] |
GenericEncodingStrategy.gatherAllKeyProperties()
Returns all key properties as ordered properties, possibly with
unspecified directions.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericEncodingStrategy.buildKeyDecoding(org.cojen.classfile.CodeAssembler assembler,
OrderedProperty<S>[] properties,
org.cojen.classfile.LocalVariable instanceVar,
java.lang.Class<?> adapterInstanceClass,
boolean useWriteMethods,
org.cojen.classfile.LocalVariable encodedVar)
Generates bytecode instructions to decode properties.
|
org.cojen.classfile.LocalVariable |
GenericEncodingStrategy.buildKeyEncoding(org.cojen.classfile.CodeAssembler assembler,
OrderedProperty<S>[] properties,
org.cojen.classfile.LocalVariable instanceVar,
java.lang.Class<?> adapterInstanceClass,
boolean useReadMethods,
org.cojen.classfile.LocalVariable partialStartVar,
org.cojen.classfile.LocalVariable partialEndVar)
Generates bytecode instructions to encode properties.
|
GenericStorableCodec.SearchKeyFactory<S> |
GenericStorableCodec.getSearchKeyFactory(OrderedProperty<S>[] properties)
Returns a search key factory, which is useful for implementing indexes
and queries.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.