Package cz.o2.proxima.core.repository
Class EntityAwareAttributeDescriptor.Regular<T>
- java.lang.Object
-
- cz.o2.proxima.core.repository.EntityAwareAttributeDescriptor<T>
-
- cz.o2.proxima.core.repository.EntityAwareAttributeDescriptor.Regular<T>
-
- All Implemented Interfaces:
AttributeDescriptor<T>,java.io.Serializable
- Enclosing class:
- EntityAwareAttributeDescriptor<T>
public static class EntityAwareAttributeDescriptor.Regular<T> extends EntityAwareAttributeDescriptor<T>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cz.o2.proxima.core.repository.EntityAwareAttributeDescriptor
EntityAwareAttributeDescriptor.Regular<T>, EntityAwareAttributeDescriptor.Wildcard<T>
-
Nested classes/interfaces inherited from interface cz.o2.proxima.core.repository.AttributeDescriptor
AttributeDescriptor.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamElementdelete(long sequentialId, java.lang.String key, long stamp)Create delete for non-wildcard attribute.StreamElementdelete(java.lang.String key, long stamp)Create delete for non-wildcard attribute.StreamElementdelete(java.lang.String uuid, java.lang.String key, long stamp)Create delete for non-wildcard attribute.StreamElementdelete(java.lang.String uuid, java.lang.String key, java.time.Instant stamp)Create delete for non-wildcard attribute.StreamElementdelete(java.lang.String key, java.time.Instant stamp)Create delete for non-wildcard attribute.static <T> EntityAwareAttributeDescriptor.Regular<T>of(EntityDescriptor entity, AttributeDescriptor<T> attr)StreamElementupsert(long sequentialId, java.lang.String key, long stamp, T value)Create upsert update to non-wildcard attribute.StreamElementupsert(java.lang.String key, long stamp, T value)Create upsert update to non-wildcard attribute.StreamElementupsert(java.lang.String uuid, java.lang.String key, long stamp, T value)Create upsert update to non-wildcard attribute.StreamElementupsert(java.lang.String uuid, java.lang.String key, java.time.Instant stamp, T value)Create upsert update to non-wildcard attribute.StreamElementupsert(java.lang.String key, java.time.Instant stamp, T value)Create upsert update to non-wildcard attribute.-
Methods inherited from class cz.o2.proxima.core.repository.EntityAwareAttributeDescriptor
asProxy, equals, getEntity, getName, getSchemaTypeDescriptor, getSchemeUri, getTransactionalManagerFamilies, getTransactionMode, getValueSerializer, hashCode, isProxy, isPublic, isWildcard, toAttributePrefix, toAttributePrefix, toBuilder, toString, valueOf
-
-
-
-
Method Detail
-
of
public static <T> EntityAwareAttributeDescriptor.Regular<T> of(EntityDescriptor entity, AttributeDescriptor<T> attr)
-
upsert
public StreamElement upsert(java.lang.String uuid, java.lang.String key, long stamp, T value)
Create upsert update to non-wildcard attribute.- Parameters:
uuid- UUID of the upsertkey- key of the upsertstamp- timestampvalue- the value to write- Returns:
- the upsert
StreamElement
-
upsert
public StreamElement upsert(java.lang.String uuid, java.lang.String key, java.time.Instant stamp, T value)
Create upsert update to non-wildcard attribute.- Parameters:
uuid- UUID of the upsertkey- key of the upsertstamp- timestampvalue- the value to write- Returns:
- the upsert
StreamElement
-
upsert
public StreamElement upsert(java.lang.String key, long stamp, T value)
Create upsert update to non-wildcard attribute. UUID is auto generated.- Parameters:
key- key of the upsertstamp- timestampvalue- the value to write- Returns:
- the upsert
StreamElement
-
upsert
public StreamElement upsert(long sequentialId, java.lang.String key, long stamp, T value)
Create upsert update to non-wildcard attribute. UUID is auto generated.- Parameters:
sequentialId- sequential ID of the updatekey- key of the upsertstamp- timestampvalue- the value to write- Returns:
- the upsert
StreamElement
-
upsert
public StreamElement upsert(java.lang.String key, java.time.Instant stamp, T value)
Create upsert update to non-wildcard attribute. UUID is auto generated.- Parameters:
key- key of the upsertstamp- timestampvalue- the value to write- Returns:
- the upsert
StreamElement
-
delete
public StreamElement delete(java.lang.String uuid, java.lang.String key, java.time.Instant stamp)
Create delete for non-wildcard attribute.- Parameters:
uuid- UUID of the deletekey- key of the deletestamp- timestamp- Returns:
- the delete
StreamElement
-
delete
public StreamElement delete(java.lang.String uuid, java.lang.String key, long stamp)
Create delete for non-wildcard attribute.- Parameters:
uuid- UUID of the deletekey- key of the deletestamp- timestamp- Returns:
- the delete
StreamElement
-
delete
public StreamElement delete(long sequentialId, java.lang.String key, long stamp)
Create delete for non-wildcard attribute.- Parameters:
sequentialId- sequential ID of the deletekey- key of the deletestamp- timestamp- Returns:
- the delete
StreamElement
-
delete
public StreamElement delete(java.lang.String key, long stamp)
Create delete for non-wildcard attribute. UUID is auto generated.- Parameters:
key- key of the deletestamp- timestamp- Returns:
- the delete
StreamElement
-
delete
public StreamElement delete(java.lang.String key, java.time.Instant stamp)
Create delete for non-wildcard attribute. UUID is auto generated.- Parameters:
key- key of the deletestamp- timestamp- Returns:
- the delete
StreamElement
-
-