| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
PersistingElement.getCachedVersion()
If an element with the same id as this element exists in the cache, returns the element from the cache, otherwise returns this element which will be placed in the cache.
|
PersistingElement |
ProcessException.Problem.getElement()
The element that was processed when the problem appeared.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends PersistingElement> |
UnknownColumnFamily.getClazz() |
Process<? extends PersistingElement> |
ProcessException.getProcess()
The process in which the problem(s) appeared.
|
Process.ProcessReport<? extends PersistingElement> |
ProcessException.getRetport()
The report to which this exception belongs
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistingElementListener.activated(PersistingElement pe,
Set<ColumnFamily<?>> activatedColumnFamilies)
Sent after a listened
PersistingElement was activated from the data store. |
void |
DefaultPersistingElementListener.activated(PersistingElement pe,
Set<ColumnFamily<?>> activatedColumnFamilies) |
void |
PersistingElementListener.activateInvoked(PersistingElement pe,
Set<ColumnFamily<?>> columnFamiliesToBeActivated)
Sent before a listened
PersistingElement was activated from the data store. |
void |
DefaultPersistingElementListener.activateInvoked(PersistingElement pe,
Set<ColumnFamily<?>> columnFamiliesToBeActivated) |
int |
PersistingElement.compareTo(PersistingElement rhs)
If instanciated classes are different, class names are compared, in the other case, the result of
getIdentifier() are compared. |
void |
PersistingElementListener.stored(PersistingElement pe)
Sent after a listened
PersistingElement was stored in the data store. |
void |
DefaultPersistingElementListener.stored(PersistingElement pe) |
void |
PersistingElementListener.storeInvoked(PersistingElement pe)
Sent before a listened
PersistingElement is stored in the data store. |
void |
DefaultPersistingElementListener.storeInvoked(PersistingElement pe) |
| Constructor and Description |
|---|
Problem(PersistingElement element,
Row rawData,
Throwable reportedProblem) |
| Constructor and Description |
|---|
ProcessException(Process<? extends PersistingElement> p,
Process.ProcessReport<? extends PersistingElement> report,
List<ProcessException.Problem> problems,
List<Throwable> otherExceptions) |
ProcessException(Process<? extends PersistingElement> p,
Process.ProcessReport<? extends PersistingElement> report,
List<ProcessException.Problem> problems,
List<Throwable> otherExceptions) |
UnknownColumnFamily(Class<? extends PersistingElement> clazz,
String unknownColumnFamilyName) |
| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
Cache.getKnownPersistingElement(String fullIdentifier)
Finds an element in the cache according to its full identifier.
|
PersistingElement |
Cache.getKnownPersistingElement(String identifier,
Class<? extends PersistingElement> clazz)
Finds an element in the cache according to its identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.register(PersistingElement element)
Registers an element in the cache.
|
void |
Cache.unregister(PersistingElement element)
Removes an element in the cache.
|
| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
Cache.getKnownPersistingElement(String identifier,
Class<? extends PersistingElement> clazz)
Finds an element in the cache according to its identifier.
|
| Modifier and Type | Field and Description |
|---|---|
protected PersistingElement |
ColumnFamily.owner |
| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
ColumnFamily.getOwner() |
| Constructor and Description |
|---|
ColumnFamily(Class<T> clazz,
Field property,
String name,
PersistingElement owner) |
MapColumnFamily(Class<K> keyClazz,
Class<T> valueClazz,
Field property,
String name,
PersistingElement owner) |
SetColumnFamily(Class<T> clazz,
Field property,
PersistingElement owner) |
SetColumnFamily(Class<T> clazz,
Field property,
String name,
PersistingElement owner) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Process.ProcessReport<T extends PersistingElement> |
| Modifier and Type | Method and Description |
|---|---|
static <AE extends PersistingElement,E extends AE> |
Process.processElements(Class<E> clazz,
Constraint c,
Process<AE> processAction,
int limit,
String[] families,
int threadNumber,
ProcessCanceller cancel,
ExecutorService executor) |
static <AE extends PersistingElement,E extends AE> |
Process.processElementsRemotely(Class<E> clazz,
Constraint c,
Process<AE> process,
Callback callback,
int limit,
String[] families,
int threadNumber,
long timeout) |
static <T extends PersistingElement> |
ImportExport.readSerializedPersistingElements(InputStream fis,
Process<T> process)
Processes sequentially each element of a serialized stream without importing them.
|
| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
ImportExport.ExportReport.getElement() |
protected PersistingElement |
ImportExport.ProcessReadException.getElement() |
| Modifier and Type | Method and Description |
|---|---|
static ImportExport.ExportReport |
ImportExport.exportPersistingElements(CloseableIterator<? extends PersistingElement> elementsIterator,
ObjectOutputStream out)
Serialize a binary representation for elements in an OutputStream.
|
static long |
ImportExport.readSerializedPersistingElements(String file,
Process<? extends PersistingElement> process)
Processes sequentially each element of a serialized file without importing them.
|
| Constructor and Description |
|---|
ExportReport(PersistingElement element,
long exportedElements) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassConstraintBuilder<T extends PersistingElement> |
class |
InnerClassConstraintBuilder<T extends PersistingElement> |
class |
InnerKeyConstraintBuilder<T extends PersistingElement> |
class |
InnerRangeKeyConstraintBuilder<T extends PersistingElement> |
class |
KeyConstraintBuilder<T extends PersistingElement> |
class |
LimitConstraintBuilder<T extends PersistingElement> |
class |
RangeKeyConstraintBuilder<T extends PersistingElement> |
class |
SearchableClassConstraintBuilder<T extends PersistingElement> |
class |
SearchableKeyConstraintBuilder<T extends PersistingElement> |
class |
SearchableRangeKeyConstraintBuilder<T extends PersistingElement> |
| Modifier and Type | Method and Description |
|---|---|
<T extends PersistingElement> |
ConstraintBuilder.ofClass(Class<T> clazz) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessWrapper<AE extends PersistingElement,E extends AE> |
| Modifier and Type | Method and Description |
|---|---|
<AE extends PersistingElement,E extends AE> |
ActionnableStore.process(MetaInformation meta,
String table,
Constraint c,
Set<String> families,
Class<E> element,
Process<AE> action,
Callback callback) |
| Modifier and Type | Method and Description |
|---|---|
PersistingElement |
MetaInformation.getElement() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends PersistingElement> |
MetaInformation.getClazz() |
Class<? extends PersistingElement> |
MetaInformation.getClazzNoCheck() |
| Modifier and Type | Method and Description |
|---|---|
MetaInformation |
MetaInformation.forElement(PersistingElement element) |
| Modifier and Type | Method and Description |
|---|---|
MetaInformation |
MetaInformation.forClass(Class<? extends PersistingElement> clazz) |
Copyright © 2016. All Rights Reserved.