Package | Description |
---|---|
com.amazon.carbonado |
Main user-level interfaces, classes, and annotations for Carbonado.
|
com.amazon.carbonado.capability |
Common capabilities for repositories.
|
com.amazon.carbonado.cursor |
Support for advanced processing of cursor results, including basic set
theory operations.
|
com.amazon.carbonado.filter |
Contains classes for representing query filters.
|
com.amazon.carbonado.gen |
Storable code generation support intended for use by repository implementations.
|
com.amazon.carbonado.info |
Introspection support for Storables.
|
com.amazon.carbonado.layout |
Support for recording the evolution of a storable's layout, used internally
by some repositories.
|
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.
|
com.amazon.carbonado.repo.indexed |
Repository implementation that adds index support for repositories that have
little or no index support.
|
com.amazon.carbonado.repo.jdbc |
Repository implementation that connects to an external SQL database via
JDBC.
|
com.amazon.carbonado.repo.sleepycat |
Repository implementation backed by a Sleepycat (BDB, Berkeley)
database.
|
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.
|
com.amazon.carbonado.txn |
Provides support for managing transactions.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Query<S extends Storable>
Supports complex retrieval and deletion of
Storable objects. |
interface |
Storable<S extends Storable<S>>
A data access object in a
Repository . |
interface |
Storage<S extends Storable>
Access for a specific type of
Storable from a Repository . |
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
Repository.storageFor(java.lang.Class<S> type)
Returns a Storage instance for the given user defined Storable class or
interface.
|
<S extends Storable> |
TriggerFactory.triggerFor(java.lang.Class<S> type)
Return an appropriate trigger for the given type, or null if none.
|
Modifier and Type | Method and Description |
---|---|
Storable |
OptimisticLockException.getStorable()
Returns the Storable which was acted upon, or null if not available.
|
Storable |
CorruptEncodingException.getStorableWithPrimaryKey()
If the decoder was able to extract the primary key, it will be available in the
returned Storable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Storable> |
UnsupportedTypeException.getType() |
Modifier and Type | Method and Description |
---|---|
void |
CorruptEncodingException.setStorableWithPrimaryKey(Storable s)
If the decoder can at least extract the primary key, it should set it here.
|
Constructor and Description |
---|
OptimisticLockException(java.lang.Object expectedVersion,
java.lang.Object savedVersion,
Storable s) |
OptimisticLockException(java.lang.Object savedVersion,
Storable s,
java.lang.Object newVersion)
Construct exception for when new version was expected to have increased.
|
Constructor and Description |
---|
UnsupportedTypeException(java.lang.String message,
java.lang.Class<? extends Storable> type) |
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
IndexInfoCapability.getIndexInfo(java.lang.Class<S> storableType)
Returns information about the known indexes for the given storable
type.
|
<S extends Storable> |
ResyncCapability.resync(java.lang.Class<S> type,
double desiredSpeed,
java.lang.String filter,
java.lang.Object... filterValues)
Re-synchronizes replicated storables against the master repository.
|
<S extends Storable> |
ResyncCapability.resync(java.lang.Class<S> type,
ResyncCapability.Listener<? super S> listener,
double desiredSpeed,
java.lang.String filter,
java.lang.Object... filterValues)
Re-synchronizes replicated storables against the master repository.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StorableInfoCapability.isPropertySupported(java.lang.Class<Storable> type,
java.lang.String name)
Returns true if the given property exists and is supported.
|
boolean |
StorableInfoCapability.isSupported(java.lang.Class<Storable> type)
Returns true if the given storable type is supported.
|
Modifier and Type | Class and Description |
---|---|
class |
MergeSortBuffer<S extends Storable>
Sort buffer implemented via a merge sort algorithm.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
FilteredCursor.applyFilter(Cursor<S> cursor,
java.lang.Class<S> type,
java.lang.String filter,
java.lang.Object... filterValues)
Returns a Cursor that is filtered by the given filter expression and values.
|
static <S extends Storable> |
FilteredCursor.applyFilter(Filter<S> filter,
FilterValues<S> filterValues,
Cursor<S> cursor)
Returns a Cursor that is filtered by the given Filter and FilterValues.
|
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.
|
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 | Class and Description |
---|---|
class |
AndFilter<S extends Storable>
Filter tree node that performs a logical 'and' test.
|
class |
BinaryOpFilter<S extends Storable>
Base class for filter tree nodes that have a left and right child.
|
class |
ClosedFilter<S extends Storable>
Filter which blocks any results from passing through.
|
class |
ExistsFilter<S extends Storable>
Filter tree node that performs an existence or non-existence test against a
join property.
|
class |
Filter<S extends Storable>
An immutable tree structure representing a query result filter.
|
class |
FilterValues<S extends Storable>
Assigns values to
Filter placeholders. |
class |
OpenFilter<S extends Storable>
Filter which lets all results pass through.
|
class |
OrFilter<S extends Storable>
Filter tree node that performs a logical 'or' test.
|
class |
PropertyFilter<S extends Storable>
Filter tree node that performs a relational test against a specific property
value.
|
class |
Visitor<S extends Storable,R,P>
Traverses a filter tree in its canonical order.
|
Modifier and Type | Method and Description |
---|---|
<T extends Storable> |
Filter.asJoinedFrom(ChainedProperty<T> joinProperty)
Prepends a join property to all properties of this filter.
|
<T extends Storable> |
Filter.asJoinedFrom(java.lang.Class<T> type,
java.lang.String joinProperty)
Prepends a join property to all properties of this filter.
|
<T extends Storable> |
PropertyFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
<T extends Storable> |
OrFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
<T extends Storable> |
ClosedFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
<T extends Storable> |
AndFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
abstract <T extends Storable> |
Filter.asJoinedFromAny(ChainedProperty<T> joinProperty)
Allows join from any property type, including one-to-many joins.
|
<T extends Storable> |
ExistsFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
<T extends Storable> |
OpenFilter.asJoinedFromAny(ChainedProperty<T> joinProperty) |
static <S extends Storable> |
Filter.filterFor(java.lang.Class<S> type,
java.lang.String expression)
Returns a cached filter instance that operates on the given type and
filter expression.
|
static <S extends Storable> |
Filter.getClosedFilter(java.lang.Class<S> type)
Returns a cached filter instance that operates on the given type, which
prevents any results from passing through.
|
static <S extends Storable> |
Filter.getOpenFilter(java.lang.Class<S> type)
Returns a cached filter instance that operates on the given type, which
allows all results to pass through.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegateStorableGenerator<S extends Storable>
Generates and caches concrete implementations of
Storable types
which delegate to DelegateSupport . |
interface |
DelegateSupport<S extends Storable>
Provides runtime support for Storable classes generated by
DelegateStorableGenerator . |
class |
DetachedStorableFactory<S extends Storable>
Creates
Storable instances which are basic data containers. |
class |
MasterStorableGenerator<S extends Storable>
Generates and caches abstract implementations of
Storable types
suitable for use by master repositories. |
interface |
MasterSupport<S extends Storable>
Provides runtime support for Storable classes generated by
MasterStorableGenerator . |
class |
StorableCopier<S extends Storable,T extends Storable>
Copies properties between otherwise incompatible Storables.
|
class |
StorableCopier<S extends Storable,T extends Storable>
Copies properties between otherwise incompatible Storables.
|
static class |
StorableCopier.From<S extends Storable> |
class |
StorableGenerator<S extends Storable>
Generates and caches abstract implementations of
Storable
types. |
class |
StorablePropertyMap<S extends Storable>
Basic implementation for
propertyMap() method. |
interface |
StorableSupport<S extends Storable>
Provides runtime support for Storable classes generated by
StorableGenerator . |
interface |
TriggerSupport<S extends Storable>
Provides runtime support for Storable classes generated by
StorableGenerator . |
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
StorablePropertyMap.createMap(java.lang.Class<S> type,
S storable) |
static <S extends Storable> |
CodeBuilderUtil.createStorableClassFile(org.cojen.util.ClassInjector ci,
java.lang.Class<S> type,
boolean isAbstract,
java.lang.String aSourcefileName)
Define a classfile appropriate for most Storables.
|
static <S extends Storable> |
StorableCopier.from(java.lang.Class<S> source) |
static <S extends Storable> |
StorableGenerator.getAbstractClass(java.lang.Class<S> type)
Returns an abstract implementation of the given Storable type, which is
fully thread-safe.
|
static <S extends Storable> |
MasterStorableGenerator.getAbstractClass(java.lang.Class<S> type,
java.util.EnumSet<MasterFeature> features)
Returns an abstract implementation of the given Storable type, which
is fully thread-safe.
|
static <S extends Storable> |
DelegateStorableGenerator.getDelegateClass(java.lang.Class<S> type,
java.util.EnumSet<MasterFeature> features)
Delegate class has a constructor that accepts a
DelegateSupport
instance. |
<S extends Storable> |
DetachedStorableFactory.newInstance() |
<T extends Storable> |
StorableCopier.From.to(java.lang.Class<T> target) |
Modifier and Type | Class and Description |
---|---|
class |
ChainedProperty<S extends Storable>
Represents a property to filter on or to order by.
|
class |
OrderedProperty<S extends Storable>
Represents a property paired with a preferred ordering direction.
|
class |
StorableIndex<S extends Storable>
Represents an index that must be defined for a specific
Storable type. |
interface |
StorableInfo<S extends Storable>
Contains all the metadata describing a specific
Storable type. |
interface |
StorableKey<S extends Storable>
Represents a primary, alternate or partition key of a specific
Storable type. |
interface |
StorableProperty<S extends Storable>
Contains all the metadata describing a property of a specific
Storable type. |
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
StorableIntrospector.examine(java.lang.Class<S> type)
Examines the given class and returns a StorableInfo describing it.
|
static <S extends Storable> |
OrderedProperty.get(ChainedProperty<S> property,
Direction direction)
Returns a canonical instance.
|
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,
boolean[] outerJoin)
Returns a canonical instance.
|
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> |
ChainedProperty.parse(StorableInfo<S> info,
java.lang.String str)
Parses a chained property.
|
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.
|
static <S extends Storable> |
StorableIndex.parseNameDescriptor(java.lang.String desc,
StorableInfo<S> info)
Parses an index descriptor and returns an index object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Storable> |
StorableProperty.getJoinedType()
Returns the type of property this is joined to, or null if not joined.
|
static java.lang.Class<? extends Storable> |
StorableIntrospector.inferType(java.lang.Class clazz)
Examines a class and determines what Storable type it implements.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StoredLayout
Stored information regarding the layout of a Storable type, which is used
internally by
Layout . |
interface |
StoredLayoutEquivalence
Maps layout generations which are equivalent.
|
interface |
StoredLayoutProperty
Stored property joined to a
StoredLayout , which is used internally
by LayoutProperty . |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Storable> |
Layout.reconstruct()
Reconstructs the storable type defined by this layout by returning an
auto-generated class.
|
java.lang.Class<? extends Storable> |
Layout.reconstruct(java.lang.ClassLoader loader)
Reconstructs the storable type defined by this layout by returning an
auto-generated class.
|
Modifier and Type | Method and Description |
---|---|
Layout |
LayoutFactory.layoutFor(boolean readOnly,
java.lang.Class<? extends Storable> type,
LayoutOptions options)
Returns the layout matching the current definition of the given type.
|
Layout |
LayoutCapability.layoutFor(java.lang.Class<? extends Storable> type)
Returns the layout matching the current definition of the given type.
|
Layout |
LayoutFactory.layoutFor(java.lang.Class<? extends Storable> type)
Returns the layout matching the current definition of the given type.
|
Layout |
LayoutCapability.layoutFor(java.lang.Class<? extends Storable> type,
int generation)
Returns the layout for a particular generation of the given type.
|
Layout |
LayoutFactory.layoutFor(java.lang.Class<? extends Storable> type,
int generation)
Returns the layout for a particular generation of the given type.
|
Layout |
LayoutFactory.layoutFor(java.lang.Class<? extends Storable> type,
LayoutOptions options)
Returns the layout matching the current definition of the given type.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractQuery<S extends Storable>
AbstractQuery implements a small set of common Query methods.
|
class |
AbstractQueryExecutor<S extends Storable>
AbstractQueryExecutor implements a small set of common QueryExecutor methods.
|
class |
CompositeScore<S extends Storable>
Evaluates an index for how well it matches a query's desired filtering and
ordering.
|
class |
DelegatedQueryExecutor<S extends Storable>
QueryExecutor which delegates by executing a Query on a Storage.
|
class |
DelegatedQueryExecutorFactory<S extends Storable>
QueryExecutorFactory which produces executors which delegate via
DelegatedQueryExecutor . |
class |
EmptyQuery<S extends Storable>
Special query implementation that fetches nothing.
|
class |
FilteredQueryExecutor<S extends Storable>
QueryExecutor which wraps another and filters results.
|
class |
FilteringScore<S extends Storable>
Evaluates an index for how well it matches a query's desired filtering.
|
class |
FullScanQueryExecutor<S extends Storable>
QueryExecutor which fully scans all Storables of a given type.
|
static interface |
FullScanQueryExecutor.Support<S extends Storable>
Provides support for
FullScanQueryExecutor . |
class |
IndexedQueryAnalyzer<S extends Storable>
Analyzes a simple query specification and determines which index is best
suited for its execution.
|
class |
IndexedQueryExecutor<S extends Storable>
QueryExecutor which utilizes an index.
|
static interface |
IndexedQueryExecutor.Support<S extends Storable>
Provides support for
IndexedQueryExecutor . |
class |
IterableQueryExecutor<S extends Storable>
QueryExecutor which fully scans an iterable collection.
|
class |
JoinedQueryExecutor<S extends Storable,T extends Storable>
QueryExecutor which joins a source and target executor,
producing results of target type.
|
class |
JoinedQueryExecutor<S extends Storable,T extends Storable>
QueryExecutor which joins a source and target executor,
producing results of target type.
|
class |
KeyQueryExecutor<S extends Storable>
QueryExecutor which has a fully specified key, and so cursors produce at
most one result.
|
static interface |
KeyQueryExecutor.Support<S extends Storable>
Provides support for
KeyQueryExecutor . |
class |
OrderingList<S extends Storable>
Produces unmodifiable lists of
orderings . |
class |
OrderingScore<S extends Storable>
Evaluates an index for how well it matches a query's desired ordering.
|
class |
QueryEngine<S extends Storable>
Complete rule-based query engine implementation.
|
interface |
QueryExecutor<S extends Storable>
Performs all the actual work of executing a query.
|
class |
QueryExecutorCache<S extends Storable>
QueryExecutors should be cached since expensive analysis is often required to build
them.
|
interface |
QueryExecutorFactory<S extends Storable>
Produces
QueryExecutor instances from a query specification. |
interface |
QueryFactory<S extends Storable>
Produces
Query instances from a query specification. |
class |
SortedQueryExecutor<S extends Storable>
QueryExecutor which wraps another and sorts the results.
|
static class |
SortedQueryExecutor.ArraySortSupport<S extends Storable> |
static class |
SortedQueryExecutor.MergeSortSupport<S extends Storable> |
static interface |
SortedQueryExecutor.Support<S extends Storable>
Provides support for
SortedQueryExecutor . |
class |
StandardQuery<S extends Storable>
Abstract query implementation which uses a
QueryExecutor . |
class |
StandardQueryFactory<S extends Storable>
Builds and caches StandardQuery instances.
|
class |
StorableIndexSet<S extends Storable>
Manages a set of
StorableIndex objects, intended for reducing the
set such that the minimal amount of physical indexes need to be defined for
a specific type of Storable . |
interface |
StorageAccess<S extends Storable>
Provides internal access to a
Storage , necessary for query
execution. |
class |
UnionQueryAnalyzer<S extends Storable>
Analyzes a query specification and determines how it can be executed as a
union of smaller queries.
|
class |
UnionQueryExecutor<S extends Storable>
QueryExecutor which wraps several others and unions the results.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Storable> |
JoinedQueryExecutor.build(RepositoryAccess repoAccess,
ChainedProperty<T> targetToSourceProperty,
Filter<T> targetFilter,
OrderingList<T> targetOrdering,
QueryHints hints)
Builds and returns a complex joined excutor against a chained property,
supporting multi-way joins.
|
static <S extends Storable> |
OrderingList.emptyList()
Returns a canonical empty instance.
|
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> |
FilteringScore.evaluate(StorableIndex<S> index,
Filter<S> filter)
Evaluates the given index for its filtering capabilities against the
given filter.
|
static <S extends Storable> |
CompositeScore.evaluate(StorableIndex<S> index,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index for its filtering and ordering capabilities
against the given filter and order-by properties.
|
static <S extends Storable> |
OrderingScore.evaluate(StorableIndex<S> index,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index for its ordering capabilities against the
given filter and order-by properties.
|
static <S extends Storable> |
OrderingList.get(java.lang.Class<S> type,
java.lang.String... orderings)
Returns a canonical instance composed of the given orderings.
|
static <S extends Storable> |
OrderingList.get(java.lang.Class<S> type,
java.lang.String property)
Returns a canonical instance composed of the given ordering.
|
static <S extends Storable> |
OrderingList.get(java.util.List<OrderedProperty<S>> orderings)
Returns a canonical instance composed of the given orderings.
|
static <S extends Storable> |
OrderingList.get(OrderedProperty<S>... orderings)
Returns a canonical instance composed of the given orderings.
|
<S extends Storable> |
RepositoryAccess.storageAccessFor(java.lang.Class<S> type)
Returns a StorageAccess instance for the given user defined Storable
class or interface.
|
Modifier and Type | Class and Description |
---|---|
class |
CompressedEncodingStrategy<S extends Storable>
Extension of GenericEncodingStrategy that allows for compression.
|
class |
CustomStorableCodec<S extends Storable>
Allows codecs to be defined for storables that have a custom encoding.
|
class |
GenericEncodingStrategy<S extends Storable>
Generates bytecode instructions for encoding/decoding Storable properties
to/from raw bytes.
|
class |
GenericStorableCodec<S extends Storable>
Generic codec that supports any kind of storable by auto-generating and
caching storable implementations.
|
static interface |
GenericStorableCodec.Decoder<S extends Storable>
Used for decoding different generations of Storable.
|
static interface |
GenericStorableCodec.SearchKeyFactory<S extends Storable>
Creates custom raw search keys for
Storable types. |
interface |
RawSupport<S extends Storable>
Provides runtime support for Storable classes generated by
RawStorableGenerator . |
interface |
StorableCodec<S extends Storable>
Supports encoding and decoding of storables.
|
Modifier and Type | Method and Description |
---|---|
protected abstract <S extends Storable> |
CustomStorableCodecFactory.createCodec(java.lang.Class<S> type,
boolean isMaster,
Layout layout) |
protected <S extends Storable> |
CustomStorableCodecFactory.createCodec(java.lang.Class<S> type,
boolean isMaster,
Layout layout,
RawSupport support) |
<S extends Storable> |
CustomStorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout) |
<S extends Storable> |
StorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout) |
<S extends Storable> |
GenericStorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout) |
<S extends Storable> |
CustomStorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support) |
<S extends Storable> |
StorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support) |
<S extends Storable> |
GenericStorableCodecFactory.createCodec(java.lang.Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support) |
protected <S extends Storable> |
GenericStorableCodecFactory.createStrategy(java.lang.Class<S> type,
StorableIndex<S> pkIndex)
Override to return a different EncodingStrategy.
|
protected <S extends Storable> |
CompressedStorableCodecFactory.createStrategy(java.lang.Class<S> type,
StorableIndex<S> pkIndex,
LayoutOptions options) |
protected <S extends Storable> |
GenericStorableCodecFactory.createStrategy(java.lang.Class<S> type,
StorableIndex<S> pkIndex,
LayoutOptions options)
Override to return a different EncodingStrategy.
|
static <S extends Storable> |
RawStorableGenerator.getAbstractClass(java.lang.Class<S> type,
boolean isMaster)
Returns an abstract implementation of the given Storable type, which is
fully thread-safe.
|
Modifier and Type | Method and Description |
---|---|
Storable |
GenericInstanceFactory.instantiate(RawSupport support) |
Storable |
GenericInstanceFactory.instantiate(RawSupport support,
byte[] key) |
Storable |
GenericInstanceFactory.instantiate(RawSupport support,
byte[] key,
byte[] value) |
Storable |
CustomStorableCodec.InstanceFactory.instantiate(RawSupport support,
byte[] key,
byte[] value,
CustomStorableCodec codec) |
Storable |
CustomStorableCodec.InstanceFactory.instantiate(RawSupport support,
CustomStorableCodec codec) |
Modifier and Type | Method and Description |
---|---|
protected CompressionType |
CompressedStorableCodecFactory.getCompressionType(java.lang.Class<? extends Storable> type) |
LayoutOptions |
StorableCodecFactory.getLayoutOptions(java.lang.Class<? extends Storable> type)
Optionally return additional information regarding storable encoding.
|
LayoutOptions |
CompressedStorableCodecFactory.getLayoutOptions(java.lang.Class<? extends Storable> type) |
LayoutOptions |
GenericStorableCodecFactory.getLayoutOptions(java.lang.Class<? extends Storable> type)
Returns null.
|
java.lang.String |
CustomStorableCodecFactory.getStorageName(java.lang.Class<? extends Storable> type)
Returns null to let repository decide what the name should be.
|
java.lang.String |
StorableCodecFactory.getStorageName(java.lang.Class<? extends Storable> type)
Returns the preferred storage/database name for the given type.
|
java.lang.String |
GenericStorableCodecFactory.getStorageName(java.lang.Class<? extends Storable> type)
Returns null to let repository decide what the name should be.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IndexEntryAccessor<S extends Storable>
Provides low-level access to index data, which can be used for manual
inspection and repair.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StoredIndexInfo
Stores basic information about the indexes managed by IndexedRepository.
|
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
IndexEntryAccessCapability.getIndexEntryAccessors(java.lang.Class<S> storableType)
Returns index entry accessors for the known indexes of the given
storable type.
|
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<? extends Storable> |
IndexEntryAccessor.getComparator()
Returns a comparator for ordering index entries.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexEntryAccessor.copyFromMaster(Storable indexEntry,
S master)
Sets all the properties of the given index entry, using the applicable
properties of the given master.
|
void |
IndexEntryAccessor.copyToMasterPrimaryKey(Storable indexEntry,
S master)
Sets all the primary key properties of the given master, using the
applicable properties of the given index entry.
|
boolean |
IndexEntryAccessor.isConsistent(Storable indexEntry,
S master)
Returns true if the properties of the given index entry match those
contained in the master, exluding any version property.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JDBCStorableInfo<S extends Storable>
Contains all the metadata describing a specific
Storable type as
needed by JDBCRepository. |
interface |
JDBCStorableProperty<S extends Storable>
Contains all the metadata describing a property of a specific
Storable type as needed by JDBCRepository. |
interface |
JDBCSupport<S extends Storable> |
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
JDBCStorableIntrospector.examine(java.lang.Class<S> type,
javax.sql.DataSource ds,
java.lang.String catalog,
java.lang.String schema)
Examines the given class and returns a JDBCStorableInfo describing it.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
CompactionCapability.Result<S extends Storable> |
Modifier and Type | Class and Description |
---|---|
class |
StoredDatabaseInfo
Stores basic information about the BDB databases managed by BDBRepository.
|
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
CompactionCapability.compact(java.lang.Class<S> storableType)
Compact an entire BDB backed storage.
|
Modifier and Type | Method and Description |
---|---|
void |
BDBRepositoryBuilder.setDatabasePageSize(java.lang.Integer bytes,
java.lang.Class<? extends Storable> type)
Sets the desired page size for a given type.
|
Modifier and Type | Class and Description |
---|---|
class |
BelatedStorageCreator<S extends Storable>
Generic one-shot Storage creator which supports late object creation.
|
class |
TriggerManager<S extends Storable>
Used by Storage implementations to manage triggers and consolidate them into
single logical triggers.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StoredSequence
Deprecated.
Replaced by
StoredSequence |
Modifier and Type | Class and Description |
---|---|
class |
StoredLob
Can be used internally by repositories for supporting Lobs.
|
static class |
StoredLob.Block
Blocks stored here.
|
Modifier and Type | Method and Description |
---|---|
protected abstract <S extends Storable> |
AbstractRepository.createStorage(java.lang.Class<S> type)
Called upon to create a new Storage instance.
|
protected abstract <S extends Storable> |
StoragePool.createStorage(java.lang.Class<S> type) |
<S extends Storable> |
StoragePool.getStorage(java.lang.Class<S> type)
Returns a Storage instance for the given Storable type, which is lazily
created and pooled.
|
<S extends Storable> |
LobEngine.getSupportTrigger(java.lang.Class<S> type,
int blockSize)
Returns a Trigger for binding to this LobEngine.
|
<S extends Storable> |
TriggerManagerCapability.getTriggerManagerFor(java.lang.Class<S> type)
Returns the
TriggerManager for the given Storable type. |
static <S extends Storable> |
LobEngine.hasLobs(java.lang.Class<S> type) |
<S extends Storable> |
AbstractRepository.storageFor(java.lang.Class<S> type) |
Modifier and Type | Class and Description |
---|---|
class |
SyntheticStorableReferenceAccess<S extends Storable>
Provides access to the generated storable reference class and utility
methods.
|
class |
SyntheticStorableReferenceBuilder<S extends Storable>
A SyntheticStorableReference defines new kinds of Storables from an existing
master storable.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Storable> |
SyntheticStorableReferenceBuilder.build() |
java.lang.Class<? extends Storable> |
SyntheticStorableBuilder.build() |
java.lang.Class<? extends Storable> |
SyntheticBuilder.build()
Convenience method to generate the class.
|
java.util.Comparator<? extends Storable> |
SyntheticStorableReferenceAccess.getComparator()
Returns a comparator for ordering storable reference instances.
|
java.util.Comparator<? extends Storable> |
SyntheticStorableReferenceBuilder.getComparator()
Deprecated.
call getReferenceAccess
|
java.lang.Class<? extends Storable> |
SyntheticStorableReferenceAccess.getReferenceClass()
Returns the generated storable reference class.
|
java.lang.Class<? extends Storable> |
SyntheticStorableReferenceBuilder.getStorableClass() |
java.lang.Class<? extends Storable> |
SyntheticStorableBuilder.getStorableClass() |
java.lang.Class<? extends Storable> |
SyntheticBuilder.getStorableClass() |
Modifier and Type | Method and Description |
---|---|
void |
SyntheticStorableReferenceAccess.copyFromMaster(Storable reference,
S master)
Sets all the properties of the given reference, using the applicable
properties of the given master.
|
void |
SyntheticStorableReferenceBuilder.copyFromMaster(Storable indexEntry,
S master)
Deprecated.
call getReferenceAccess
|
void |
SyntheticStorableReferenceAccess.copyToMasterPrimaryKey(Storable reference,
S master)
Sets all the primary key properties of the given master, using the
applicable properties of the given reference.
|
void |
SyntheticStorableReferenceBuilder.copyToMasterPrimaryKey(Storable indexEntry,
S master)
Deprecated.
call getReferenceAccess
|
boolean |
SyntheticStorableReferenceAccess.isConsistent(Storable reference,
S master)
Returns true if the properties of the given reference match those
contained in the master, excluding any version property.
|
boolean |
SyntheticStorableReferenceBuilder.isConsistent(Storable indexEntry,
S master)
Deprecated.
call getReferenceAccess
|
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
TransactionScope.register(java.lang.Class<S> type,
Cursor<S> cursor)
Registers the given cursor against the active transaction, allowing it
to be closed on transaction exit or transaction manager close.
|
<S extends Storable> |
TransactionScope.unregister(java.lang.Class<S> type,
Cursor<S> cursor)
Unregisters a previously registered cursor.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.