Uses of Interface
org.gcube.documentstore.records.Record
-
-
Uses of Record in org.gcube.documentstore.persistence
Methods in org.gcube.documentstore.persistence with parameters of type Record Modifier and Type Method Description voidPersistenceBackend. account(Record record)Persist the Record.protected voidPersistenceBackend. accountValidateAggregate(Record record, boolean validate, boolean aggregate)protected voidFallbackPersistenceBackend. accountWithFallback(Record... records)protected voidPersistenceBackend. accountWithFallback(Record... records)voidDefaultPersitenceExecutor. persist(Record... records)voidPersistenceExecutor. persist(Record... records)protected voidFallbackPersistenceBackend. reallyAccount(Record record)This method contains the code to save theRecordprotected abstract voidPersistenceBackend. reallyAccount(Record record)This method contains the code to save theRecord -
Uses of Record in org.gcube.documentstore.records
Classes in org.gcube.documentstore.records with type parameters of type Record Modifier and Type Interface Description interfaceAggregatedRecord<A extends AggregatedRecord<A,R>,R extends Record>Subinterfaces of Record in org.gcube.documentstore.records Modifier and Type Interface Description interfaceAggregatedRecord<A extends AggregatedRecord<A,R>,R extends Record>Fields in org.gcube.documentstore.records with type parameters of type Record Modifier and Type Field Description protected static Map<Class<? extends Record>,Class<? extends AggregatedRecord<?,?>>>RecordUtility. recordAggregationMappingprotected static Map<String,Class<? extends Record>>RecordUtility. recordClassesFoundMethods in org.gcube.documentstore.records with type parameters of type Record Modifier and Type Method Description static <R extends Record>
RRecordUtility. getRecord(String jsonString)Create a Record from a Map serialized using toString()static <R extends Record>
StringDSMapper. marshal(List<R> list)Return the String serialization of a given liststatic <R extends Record>
StringDSMapper. marshal(R record)Return the String serialization of a given Recordstatic <R extends Record>
StringDSMapper. marshal(R[] array)Return the String serialization of a given arraystatic <T extends OutputStream,R extends Record>
TDSMapper. marshal(R record, T stream)Write the serialization of a given Record to a givenOutputStream.static <T extends Writer,R extends Record>
TDSMapper. marshal(R record, T writer)Write the serialization of a given Record to a givenWriter.static <R extends Record>
voidDSMapper. registerSubtypes(Class<R>... classes)static <R extends Record>
RDSMapper. unmarshal(Class<R> clz, InputStream stream)Creates a resource of given class from its serialization in a givenInputStream.static <R extends Record>
RDSMapper. unmarshal(Class<R> clz, Reader reader)Creates a resource of given class from its serialization in a givenReader.static <R extends Record>
RDSMapper. unmarshal(Class<R> clz, String string)Creates a record of given class from its serialization in a given Stringstatic <R extends Record>
List<R>DSMapper. unmarshalList(Class<R> clz, String string)static <R extends Record>
List<R>DSMapper. unmarshalList(String string)Methods in org.gcube.documentstore.records that return Record Modifier and Type Method Description static RecordRecordUtility. getRecord(Map<String,? extends Serializable> recordMap)Create a Record from a MapMethods in org.gcube.documentstore.records that return types with arguments of type Record Modifier and Type Method Description protected static Class<? extends Record>RecordUtility. getClass(String recordType, boolean aggregated)static Class<? extends Record>RecordUtility. getRecordClass(String recordType)static Map<String,Class<? extends Record>>RecordUtility. getRecordClassesFound()Methods in org.gcube.documentstore.records with parameters of type Record Modifier and Type Method Description static <R extends Record>
StringDSMapper. marshal(R[] array)Return the String serialization of a given arrayMethod parameters in org.gcube.documentstore.records with type arguments of type Record Modifier and Type Method Description protected static voidRecordUtility. addRecordClass(Class<? extends Record> cls) -
Uses of Record in org.gcube.documentstore.records.aggregation
Fields in org.gcube.documentstore.records.aggregation with type parameters of type Record Modifier and Type Field Description protected Map<String,List<Record>>AggregationScheduler. bufferedRecordsMethods in org.gcube.documentstore.records.aggregation with parameters of type Record Modifier and Type Method Description voidAggregationScheduler. aggregate(Record record, PersistenceExecutor persistenceExecutor)Get a record and try to aggregate with other buffered Records.protected voidAggregationScheduler. aggregate(Record record, PersistenceExecutor persistenceExecutor, boolean forceFlush)static AggregatedRecordAggregationScheduler. getAggregatedRecord(Record record)protected static AggregatedRecordAggregationScheduler. instantiateAggregatedRecord(Record record)protected voidAggregationScheduler. madeAggregation(Record record) -
Uses of Record in org.gcube.documentstore.records.implementation
Classes in org.gcube.documentstore.records.implementation that implement Record Modifier and Type Class Description classAbstractRecordMethods in org.gcube.documentstore.records.implementation with parameters of type Record Modifier and Type Method Description intAbstractRecord. compareTo(Record record)Compare this Record instance with the one provided as argumentSerializableFieldAction. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key. -
Uses of Record in org.gcube.documentstore.records.implementation.validations.validators
Methods in org.gcube.documentstore.records.implementation.validations.validators with parameters of type Record Modifier and Type Method Description SerializableNotEmptyValidator. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key.SerializableNotNullValidator. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key.SerializableValidBooleanValidator. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key.SerializableValidIntegerValidator. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key.SerializableValidLongValidator. validate(String key, Serializable value, Record record)Validate (and eventually convert) the value of the property identified by the key.
-