Package | Description |
---|---|
com.amazon.carbonado.info |
Introspection support for Storables.
|
com.amazon.carbonado.raw |
Provides support for repositories that encode/decode storables in a raw
binary format.
|
com.amazon.carbonado.repo.jdbc |
Repository implementation that connects to an external SQL database via
JDBC.
|
Modifier and Type | Method and Description |
---|---|
StorableProperty<?> |
ChainedProperty.getChainedProperty(int index) |
StorableProperty<?> |
StorableProperty.getExternalJoinElement(int index)
Returns a specific property in the joined class that participates in the
join.
|
StorableProperty<?>[] |
StorableProperty.getExternalJoinElements()
Returns a new array with all the external join elements in it.
|
StorableProperty<S> |
StorableProperty.getInternalJoinElement(int index)
Returns a specific property in this property's class that participates
in the join.
|
StorableProperty<S>[] |
StorableProperty.getInternalJoinElements()
Returns a new array with all the internal join elements in it.
|
StorableProperty<?> |
ChainedProperty.getLastProperty()
Returns the last property in the chain, or the prime property if chain
is empty.
|
StorableProperty<S> |
ChainedProperty.getPrimeProperty() |
StorableProperty<S>[] |
StorableIndex.getProperties()
Returns a new array with all the properties in it.
|
StorableProperty<S> |
StorableIndex.getProperty(int index)
Returns a specific property in this index.
|
StorableProperty<S> |
StorableInfo.getVersionProperty()
Returns the designated version property, or null if none.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
StorableInfo.getAllProperties()
Returns all the storable properties in an unmodifiable map.
|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
StorableInfo.getDataProperties()
Returns a subset of the storable properties in an unmodifiable map
that define the basic data properties.
|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
StorableInfo.getPrimaryKeyProperties()
Returns a subset of the storable properties in an unmodifiable map
that define the primary key.
|
Modifier and Type | Method and Description |
---|---|
StorableIndex<S> |
StorableIndex.addProperty(StorableProperty<S> property,
Direction direction)
Returns a StorableIndex with the given property added.
|
ChainedProperty<S> |
ChainedProperty.append(StorableProperty<?> property)
Returns a new ChainedProperty with another property appended.
|
ChainedProperty<S> |
ChainedProperty.append(StorableProperty<?> property,
boolean outerJoin)
Returns a new ChainedProperty with another property appended.
|
static <S extends Storable> |
ChainedProperty.get(StorableProperty<S> prime)
Returns a canonical instance which has no chain.
|
static <S extends Storable> |
OrderedProperty.get(StorableProperty<S> property,
Direction direction)
Returns a canonical instance.
|
static <S extends Storable> |
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>... chain)
Returns a canonical instance.
|
static <S extends Storable> |
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>... chain)
Returns a canonical instance.
|
static <S extends Storable> |
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>[] chain,
boolean[] outerJoin)
Returns a canonical instance.
|
static <S extends Storable> |
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>[] chain,
boolean[] outerJoin)
Returns a canonical instance.
|
Constructor and Description |
---|
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 |
---|---|
protected StorableProperty<S>[] |
GenericEncodingStrategy.gatherAllDataProperties()
Returns all non-derived data properties for storable.
|
protected StorableProperty<S>[] |
GenericEncodingStrategy.gatherAllProperties()
Returns all non-join, non-derived properties for storable.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends StorableProperty<S>> |
CustomStorableCodec.getAllProperties()
Convenient access to all the storable properties.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericEncodingStrategy.buildDataDecoding(org.cojen.classfile.CodeAssembler assembler,
StorableProperty<S>[] properties,
org.cojen.classfile.LocalVariable instanceVar,
java.lang.Class<?> adapterInstanceClass,
boolean useWriteMethods,
int generation,
org.cojen.classfile.Label altGenerationHandler,
org.cojen.classfile.LocalVariable encodedVar)
Generates bytecode instructions to decode properties.
|
org.cojen.classfile.LocalVariable |
GenericEncodingStrategy.buildDataEncoding(org.cojen.classfile.CodeAssembler assembler,
StorableProperty<S>[] properties,
org.cojen.classfile.LocalVariable instanceVar,
java.lang.Class<?> adapterInstanceClass,
boolean useReadMethods,
int generation)
Generates bytecode instructions to encode properties.
|
void |
GenericEncodingStrategy.buildSerialDecoding(org.cojen.classfile.CodeAssembler assembler,
StorableProperty<S>[] properties,
org.cojen.classfile.LocalVariable encodedVar)
Generates bytecode instructions to decode properties and their states.
|
org.cojen.classfile.LocalVariable |
GenericEncodingStrategy.buildSerialEncoding(org.cojen.classfile.CodeAssembler assembler,
StorableProperty<S>[] properties)
Generates bytecode instructions to encode properties and their
states.
|
protected StorablePropertyInfo |
GenericEncodingStrategy.checkSupport(StorableProperty<S> property) |
protected StorablePropertyInfo[] |
GenericEncodingStrategy.checkSupport(StorableProperty<S>[] properties) |
Modifier and Type | Interface and Description |
---|---|
interface |
JDBCStorableProperty<S extends Storable>
Contains all the metadata describing a property of a specific
Storable type as needed by JDBCRepository. |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.