public abstract class RedisPropertyContextImpl extends org.hibernate.ogm.datastore.keyvalue.options.navigation.spi.BaseKeyValueStorePropertyContext<RedisEntityContext,RedisPropertyContext> implements RedisPropertyContext
| Constructor and Description |
|---|
RedisPropertyContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context) |
| Modifier and Type | Method and Description |
|---|---|
RedisPropertyContext |
associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType) |
RedisPropertyContext |
mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage) |
RedisPropertyContext |
ttl(long value,
TimeUnit timeUnit)
Specifies the TTL for keys.
|
addEntityOption, addGlobalOption, addPropertyOptionpublic RedisPropertyContextImpl(org.hibernate.ogm.options.navigation.spi.ConfigurationContext context)
public RedisPropertyContext associationStorage(org.hibernate.ogm.datastore.document.options.AssociationStorageType associationStorageType)
associationStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStorePropertyContext<RedisEntityContext,RedisPropertyContext>public RedisPropertyContext ttl(long value, TimeUnit timeUnit)
RedisPropertyContextTTLttl in interface RedisPropertyContextvalue - the TTL durationtimeUnit - the TTL time unitpublic RedisPropertyContext mapStorage(org.hibernate.ogm.datastore.document.options.MapStorageType mapStorage)
mapStorage in interface org.hibernate.ogm.datastore.document.options.navigation.DocumentStorePropertyContext<RedisEntityContext,RedisPropertyContext>Copyright © 2010–2017 Hibernate. All rights reserved.