Package | Description |
---|---|
com.amazon.carbonado.capability |
Common capabilities for repositories.
|
com.amazon.carbonado.info |
Introspection support for Storables.
|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
com.amazon.carbonado.spi |
Service Provider Interface for Carbonado.
|
com.amazon.carbonado.synthetic |
Support for dynamic creation of storables, intended for internal use by
repository implementations.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
IndexInfo.getPropertyDirections()
Returns the directions of all the properties in this index.
|
Modifier and Type | Method and Description |
---|---|
static Direction |
Direction.fromCharacter(char c)
Returns ASCENDING for '+', DESCENDING for '-', UNSPECIFIED for anything
else.
|
Direction |
OrderedProperty.getDirection() |
Direction |
StorableIndex.getPropertyDirection(int index)
Returns the requested direction of a specific property in this index.
|
Direction[] |
StorableIndex.getPropertyDirections()
Returns a new array with all the property directions in it.
|
Direction |
Direction.reverse()
Returns the reverse direction of this.
|
static Direction |
Direction.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
StorableIndex<S> |
StorableIndex.addProperty(StorableProperty<S> property,
Direction direction)
Returns a StorableIndex with the given property added.
|
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.
|
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.
|
StorableIndex<S> |
StorableIndex.setDefaultDirection(Direction direction)
Returns a StorableIndex instance with all unspecified directions set to
the given direction.
|
Constructor and Description |
---|
StorableIndex(OrderedProperty<S>[] properties,
Direction direction)
Creates a StorableIndex from OrderedProperties.
|
StorableIndex(StorableKey<S> key,
Direction direction)
Creates a StorableIndex from a StorableKey.
|
StorableIndex(StorableProperty<S>[] properties,
Direction[] directions)
Creates a StorableIndex from the given properties and matching
directions.
|
StorableIndex(StorableProperty<S>[] properties,
Direction[] directions,
boolean unique)
Creates a StorableIndex from the given properties and matching
directions.
|
StorableIndex(StorableProperty<S>[] properties,
Direction[] directions,
boolean unique,
boolean clustered)
Creates a StorableIndex from the given properties and matching
directions.
|
Modifier and Type | Method and Description |
---|---|
void |
StorableIndexSet.addIndexes(StorableInfo<S> info,
Direction defaultDirection)
Adds all the indexes of the given storable.
|
void |
StorableIndexSet.reduce(Direction defaultDirection)
Reduces the size of the set by removing redundant indexes, and merges
others together.
|
void |
StorableIndexSet.setDefaultDirection(Direction defaultDirection)
Set the default direction for all index properties.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
IndexInfoImpl.getPropertyDirections() |
Constructor and Description |
---|
IndexInfoImpl(java.lang.String name,
boolean unique,
boolean clustered,
java.lang.String[] propertyNames,
Direction[] propertyDirections) |
Modifier and Type | Method and Description |
---|---|
SyntheticProperty |
SyntheticStorableReferenceBuilder.addKeyProperty(java.lang.String name,
Direction direction)
Add a property to the primary key which is a member of the Storable type
being referenced by this one.
|
void |
SyntheticPropertyList.addProperty(java.lang.String propertyName,
Direction direction)
Adds a property to this index, with the specified direction.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.