|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Storable | |
|---|---|
| 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.sequence | Support for generating sequences of values, intended for creating surrogate keys. |
| 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. |
| Uses of Storable in com.amazon.carbonado |
|---|
| Classes in com.amazon.carbonado with type parameters of type Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado with type parameters of type Storable | ||
|---|---|---|
|
Repository.storageFor(Class<S> type)
Returns a Storage instance for the given user defined Storable class or interface. |
|
|
TriggerFactory.triggerFor(Class<S> type)
Return an appropriate trigger for the given type, or null if none. |
|
| Methods in com.amazon.carbonado that return Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado that return types with arguments of type Storable | |
|---|---|
Class<? extends Storable> |
UnsupportedTypeException.getType()
|
| Methods in com.amazon.carbonado with parameters of type Storable | |
|---|---|
void |
CorruptEncodingException.setStorableWithPrimaryKey(Storable s)
If the decoder can at least extract the primary key, it should set it here. |
| Constructors in com.amazon.carbonado with parameters of type Storable | |
|---|---|
OptimisticLockException(Object expectedVersion,
Object savedVersion,
Storable s)
|
|
OptimisticLockException(Object savedVersion,
Storable s,
Object newVersion)
Construct exception for when new version was expected to have increased. |
|
| Constructor parameters in com.amazon.carbonado with type arguments of type Storable | |
|---|---|
UnsupportedTypeException(String message,
Class<? extends Storable> type)
|
|
| Uses of Storable in com.amazon.carbonado.capability |
|---|
| Methods in com.amazon.carbonado.capability with type parameters of type Storable | ||
|---|---|---|
|
IndexInfoCapability.getIndexInfo(Class<S> storableType)
Returns information about the known indexes for the given storable type. |
|
|
ResyncCapability.resync(Class<S> type,
double desiredSpeed,
String filter,
Object... filterValues)
Re-synchronizes replicated storables against the master repository. |
|
|
ResyncCapability.resync(Class<S> type,
ResyncCapability.Listener<? super S> listener,
double desiredSpeed,
String filter,
Object... filterValues)
Re-synchronizes replicated storables against the master repository. |
|
| Method parameters in com.amazon.carbonado.capability with type arguments of type Storable | |
|---|---|
boolean |
StorableInfoCapability.isPropertySupported(Class<Storable> type,
String name)
Returns true if the given property exists and is supported. |
boolean |
StorableInfoCapability.isSupported(Class<Storable> type)
Returns true if the given storable type is supported. |
| Uses of Storable in com.amazon.carbonado.cursor |
|---|
| Classes in com.amazon.carbonado.cursor with type parameters of type Storable | |
|---|---|
class |
MergeSortBuffer<S extends Storable>
Sort buffer implemented via a merge sort algorithm. |
| Methods in com.amazon.carbonado.cursor with type parameters of type Storable | ||
|---|---|---|
static
|
FilteredCursor.applyFilter(Cursor<S> cursor,
Class<S> type,
String filter,
Object... filterValues)
Returns a Cursor that is filtered by the given filter expression and values. |
|
static
|
FilteredCursor.applyFilter(Filter<S> filter,
FilterValues<S> filterValues,
Cursor<S> cursor)
Returns a Cursor that is filtered by the given Filter and FilterValues. |
|
static
|
SortedCursor.createComparator(List<OrderedProperty<S>> properties)
Convenience method to create a comparator which orders storables by the given properties. |
|
static
|
SortedCursor.createComparator(OrderedProperty<S>... properties)
Convenience method to create a comparator which orders storables by the given properties. |
|
| Uses of Storable in com.amazon.carbonado.filter |
|---|
| Classes in com.amazon.carbonado.filter with type parameters of type Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado.filter with type parameters of type Storable | ||
|---|---|---|
|
Filter.asJoinedFrom(ChainedProperty<T> joinProperty)
Prepends a join property to all properties of this filter. |
|
|
Filter.asJoinedFrom(Class<T> type,
String joinProperty)
Prepends a join property to all properties of this filter. |
|
|
PropertyFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
|
OrFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
|
OpenFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
abstract
|
Filter.asJoinedFromAny(ChainedProperty<T> joinProperty)
Allows join from any property type, including one-to-many joins. |
|
|
ExistsFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
|
ClosedFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
|
AndFilter.asJoinedFromAny(ChainedProperty<T> joinProperty)
|
|
static
|
Filter.filterFor(Class<S> type,
String expression)
Returns a cached filter instance that operates on the given type and filter expression. |
|
static
|
Filter.getClosedFilter(Class<S> type)
Returns a cached filter instance that operates on the given type, which prevents any results from passing through. |
|
static
|
Filter.getOpenFilter(Class<S> type)
Returns a cached filter instance that operates on the given type, which allows all results to pass through. |
|
| Uses of Storable in com.amazon.carbonado.gen |
|---|
| Classes in com.amazon.carbonado.gen with type parameters of type Storable | |
|---|---|
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 |
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 |
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. |
| Methods in com.amazon.carbonado.gen with type parameters of type Storable | ||
|---|---|---|
static
|
StorablePropertyMap.createMap(Class<S> type,
S storable)
|
|
static
|
CodeBuilderUtil.createStorableClassFile(ClassInjector ci,
Class<S> type,
boolean isAbstract,
String aSourcefileName)
Define a classfile appropriate for most Storables. |
|
static
|
StorableGenerator.getAbstractClass(Class<S> type)
Returns an abstract implementation of the given Storable type, which is fully thread-safe. |
|
static
|
MasterStorableGenerator.getAbstractClass(Class<S> type,
EnumSet<MasterFeature> features)
Returns an abstract implementation of the given Storable type, which is fully thread-safe. |
|
static
|
DelegateStorableGenerator.getDelegateClass(Class<S> type,
EnumSet<MasterFeature> features)
Delegate class has a constructor that accepts a DelegateSupport
instance. |
|
| Uses of Storable in com.amazon.carbonado.info |
|---|
| Classes in com.amazon.carbonado.info with type parameters of type Storable | |
|---|---|
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 or alternate key of a specific Storable type. |
interface |
StorableProperty<S extends Storable>
Contains all the metadata describing a property of a specific Storable type. |
| Methods in com.amazon.carbonado.info with type parameters of type Storable | ||
|---|---|---|
static
|
StorableIntrospector.examine(Class<S> type)
Examines the given class and returns a StorableInfo describing it. |
|
static
|
OrderedProperty.get(ChainedProperty<S> property,
Direction direction)
Returns a canonical instance. |
|
static
|
ChainedProperty.get(StorableProperty<S> prime)
Returns a canonical instance which has no chain. |
|
static
|
OrderedProperty.get(StorableProperty<S> property,
Direction direction)
Returns a canonical instance. |
|
static
|
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>... chain)
Returns a canonical instance. |
|
static
|
ChainedProperty.get(StorableProperty<S> prime,
StorableProperty<?>[] chain,
boolean[] outerJoin)
Returns a canonical instance. |
|
static
|
OrderedProperty.parse(StorableInfo<S> info,
String str)
Parses an ordering property, which may start with a '+' or '-' to indicate direction. |
|
static
|
ChainedProperty.parse(StorableInfo<S> info,
String str)
Parses a chained property. |
|
static
|
OrderedProperty.parse(StorableInfo<S> info,
String str,
Direction defaultDirection)
Parses an ordering property, which may start with a '+' or '-' to indicate direction. |
|
static
|
StorableIndex.parseNameDescriptor(String desc,
StorableInfo<S> info)
Parses an index descriptor and returns an index object. |
|
| Methods in com.amazon.carbonado.info that return types with arguments of type Storable | |
|---|---|
Class<? extends Storable> |
StorableProperty.getJoinedType()
Returns the type of property this is joined to, or null if not joined. |
static Class<? extends Storable> |
StorableIntrospector.inferType(Class clazz)
Examines a class and determines what Storable type it implements. |
| Uses of Storable in com.amazon.carbonado.layout |
|---|
| Subinterfaces of Storable in com.amazon.carbonado.layout | |
|---|---|
interface |
StoredLayout
Stored information regarding the layout of a Storable type, which is used internally by Layout. |
interface |
StoredLayoutProperty
Stored property joined to a StoredLayout, which is used internally
by LayoutProperty. |
| Methods in com.amazon.carbonado.layout that return types with arguments of type Storable | |
|---|---|
Class<? extends Storable> |
Layout.reconstruct()
Reconstructs the storable type defined by this layout by returning an auto-generated class. |
Class<? extends Storable> |
Layout.reconstruct(ClassLoader loader)
Reconstructs the storable type defined by this layout by returning an auto-generated class. |
| Method parameters in com.amazon.carbonado.layout with type arguments of type Storable | |
|---|---|
Layout |
LayoutFactory.layoutFor(Class<? extends Storable> type)
Returns the layout matching the current definition of the given type. |
Layout |
LayoutCapability.layoutFor(Class<? extends Storable> type)
Returns the layout matching the current definition of the given type. |
Layout |
LayoutFactory.layoutFor(Class<? extends Storable> type,
int generation)
Returns the layout for a particular generation of the given type. |
Layout |
LayoutCapability.layoutFor(Class<? extends Storable> type,
int generation)
Returns the layout for a particular generation of the given type. |
Layout |
LayoutFactory.layoutFor(Class<? extends Storable> type,
LayoutOptions options)
Returns the layout matching the current definition of the given type. |
| Uses of Storable in com.amazon.carbonado.qe |
|---|
| Classes in com.amazon.carbonado.qe with type parameters of type Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado.qe with type parameters of type Storable | ||
|---|---|---|
static
|
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
|
OrderingList.emptyList()
Returns a canonical empty instance. |
|
static
|
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
|
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
|
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
|
FilteringScore.evaluate(StorableIndex<S> index,
Filter<S> filter)
Evaluates the given index for its filtering capabilities against the given filter. |
|
static
|
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
|
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
|
OrderingList.get(Class<S> type,
String... orderings)
Returns a canonical instance composed of the given orderings. |
|
static
|
OrderingList.get(Class<S> type,
String property)
Returns a canonical instance composed of the given ordering. |
|
static
|
OrderingList.get(List<OrderedProperty<S>> orderings)
Returns a canonical instance composed of the given orderings. |
|
static
|
OrderingList.get(OrderedProperty<S>... orderings)
Returns a canonical instance composed of the given orderings. |
|
|
RepositoryAccess.storageAccessFor(Class<S> type)
Returns a StorageAccess instance for the given user defined Storable class or interface. |
|
| Uses of Storable in com.amazon.carbonado.raw |
|---|
| Classes in com.amazon.carbonado.raw with type parameters of type Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado.raw with type parameters of type Storable | ||
|---|---|---|
protected abstract
|
CustomStorableCodecFactory.createCodec(Class<S> type,
boolean isMaster,
Layout layout)
|
|
protected
|
CustomStorableCodecFactory.createCodec(Class<S> type,
boolean isMaster,
Layout layout,
RawSupport support)
|
|
|
StorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout)
|
|
|
GenericStorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout)
|
|
|
CustomStorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout)
|
|
|
StorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support)
|
|
|
GenericStorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support)
|
|
|
CustomStorableCodecFactory.createCodec(Class<S> type,
StorableIndex pkIndex,
boolean isMaster,
Layout layout,
RawSupport support)
|
|
protected
|
GenericStorableCodecFactory.createStrategy(Class<S> type,
StorableIndex<S> pkIndex)
Override to return a different EncodingStrategy. |
|
protected
|
GenericStorableCodecFactory.createStrategy(Class<S> type,
StorableIndex<S> pkIndex,
LayoutOptions options)
Override to return a different EncodingStrategy. |
|
protected
|
CompressedStorableCodecFactory.createStrategy(Class<S> type,
StorableIndex<S> pkIndex,
LayoutOptions options)
|
|
static
|
RawStorableGenerator.getAbstractClass(Class<S> type,
boolean isMaster)
Returns an abstract implementation of the given Storable type, which is fully thread-safe. |
|
| Methods in com.amazon.carbonado.raw that return Storable | |
|---|---|
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)
|
| Method parameters in com.amazon.carbonado.raw with type arguments of type Storable | |
|---|---|
protected CompressionType |
CompressedStorableCodecFactory.getCompressionType(Class<? extends Storable> type)
|
LayoutOptions |
StorableCodecFactory.getLayoutOptions(Class<? extends Storable> type)
Optionally return additional information regarding storable encoding. |
LayoutOptions |
GenericStorableCodecFactory.getLayoutOptions(Class<? extends Storable> type)
Returns null. |
LayoutOptions |
CompressedStorableCodecFactory.getLayoutOptions(Class<? extends Storable> type)
|
String |
StorableCodecFactory.getStorageName(Class<? extends Storable> type)
Returns the preferred storage/database name for the given type. |
String |
GenericStorableCodecFactory.getStorageName(Class<? extends Storable> type)
Returns null to let repository decide what the name should be. |
String |
CustomStorableCodecFactory.getStorageName(Class<? extends Storable> type)
Returns null to let repository decide what the name should be. |
| Uses of Storable in com.amazon.carbonado.repo.indexed |
|---|
| Classes in com.amazon.carbonado.repo.indexed with type parameters of type Storable | |
|---|---|
interface |
IndexEntryAccessor<S extends Storable>
Provides low-level access to index data, which can be used for manual inspection and repair. |
| Subinterfaces of Storable in com.amazon.carbonado.repo.indexed | |
|---|---|
interface |
StoredIndexInfo
Stores basic information about the indexes managed by IndexedRepository. |
| Methods in com.amazon.carbonado.repo.indexed with type parameters of type Storable | ||
|---|---|---|
|
IndexEntryAccessCapability.getIndexEntryAccessors(Class<S> storableType)
Returns index entry accessors for the known indexes of the given storable type. |
|
| Methods in com.amazon.carbonado.repo.indexed that return types with arguments of type Storable | |
|---|---|
Comparator<? extends Storable> |
IndexEntryAccessor.getComparator()
Returns a comparator for ordering index entries. |
| Methods in com.amazon.carbonado.repo.indexed with parameters of type Storable | |
|---|---|
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. |
| Uses of Storable in com.amazon.carbonado.repo.jdbc |
|---|
| Classes in com.amazon.carbonado.repo.jdbc with type parameters of type Storable | |
|---|---|
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>
|
| Methods in com.amazon.carbonado.repo.jdbc with type parameters of type Storable | ||
|---|---|---|
static
|
JDBCStorableIntrospector.examine(Class<S> type,
DataSource ds,
String catalog,
String schema)
Examines the given class and returns a JDBCStorableInfo describing it. |
|
| Uses of Storable in com.amazon.carbonado.repo.sleepycat |
|---|
| Classes in com.amazon.carbonado.repo.sleepycat with type parameters of type Storable | |
|---|---|
static interface |
CompactionCapability.Result<S extends Storable>
|
| Classes in com.amazon.carbonado.repo.sleepycat that implement Storable | |
|---|---|
class |
StoredDatabaseInfo
Stores basic information about the BDB databases managed by BDBRepository. |
| Methods in com.amazon.carbonado.repo.sleepycat with type parameters of type Storable | ||
|---|---|---|
|
CompactionCapability.compact(Class<S> storableType)
Compact an entire BDB backed storage. |
|
| Method parameters in com.amazon.carbonado.repo.sleepycat with type arguments of type Storable | |
|---|---|
void |
BDBRepositoryBuilder.setDatabasePageSize(Integer bytes,
Class<? extends Storable> type)
Sets the desired page size for a given type. |
| Uses of Storable in com.amazon.carbonado.sequence |
|---|
| Subinterfaces of Storable in com.amazon.carbonado.sequence | |
|---|---|
interface |
StoredSequence
Stores data for SequenceValueGenerator. |
| Uses of Storable in com.amazon.carbonado.spi |
|---|
| Classes in com.amazon.carbonado.spi with type parameters of type Storable | |
|---|---|
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. |
| Classes in com.amazon.carbonado.spi that implement Storable | |
|---|---|
class |
StoredLob
Can be used internally by repositories for supporting Lobs. |
static class |
StoredLob.Block
Blocks stored here. |
| Methods in com.amazon.carbonado.spi with type parameters of type Storable | ||
|---|---|---|
protected abstract
|
StoragePool.createStorage(Class<S> type)
|
|
protected abstract
|
AbstractRepository.createStorage(Class<S> type)
Called upon to create a new Storage instance. |
|
|
StoragePool.getStorage(Class<S> type)
Returns a Storage instance for the given Storable type, which is lazily created and pooled. |
|
|
LobEngine.getSupportTrigger(Class<S> type,
int blockSize)
Returns a Trigger for binding to this LobEngine. |
|
static
|
LobEngine.hasLobs(Class<S> type)
|
|
|
AbstractRepository.storageFor(Class<S> type)
|
|
| Uses of Storable in com.amazon.carbonado.synthetic |
|---|
| Classes in com.amazon.carbonado.synthetic with type parameters of type Storable | |
|---|---|
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. |
| Methods in com.amazon.carbonado.synthetic that return types with arguments of type Storable | |
|---|---|
Class<? extends Storable> |
SyntheticStorableReferenceBuilder.build()
|
Class<? extends Storable> |
SyntheticStorableBuilder.build()
|
Class<? extends Storable> |
SyntheticBuilder.build()
Convenience method to generate the class. |
Comparator<? extends Storable> |
SyntheticStorableReferenceBuilder.getComparator()
Deprecated. call getReferenceAccess |
Comparator<? extends Storable> |
SyntheticStorableReferenceAccess.getComparator()
Returns a comparator for ordering storable reference instances. |
Class<? extends Storable> |
SyntheticStorableReferenceAccess.getReferenceClass()
Returns the generated storable reference class. |
Class<? extends Storable> |
SyntheticStorableReferenceBuilder.getStorableClass()
|
Class<? extends Storable> |
SyntheticStorableBuilder.getStorableClass()
|
Class<? extends Storable> |
SyntheticBuilder.getStorableClass()
|
| Methods in com.amazon.carbonado.synthetic with parameters of type Storable | |
|---|---|
void |
SyntheticStorableReferenceBuilder.copyFromMaster(Storable indexEntry,
S master)
Deprecated. call getReferenceAccess |
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.copyToMasterPrimaryKey(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. |
boolean |
SyntheticStorableReferenceBuilder.isConsistent(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. |
| Uses of Storable in com.amazon.carbonado.txn |
|---|
| Methods in com.amazon.carbonado.txn with type parameters of type Storable | ||
|---|---|---|
|
TransactionScope.register(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. |
|
|
TransactionScope.unregister(Class<S> type,
Cursor<S> cursor)
Unregisters a previously registered cursor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||