public class RedisDataTypeDescription extends Object implements Serializable
RedisDataTypeDescription defines data type and additional key if needed for lookup / store tuples.
Modifier and Type | Class and Description |
---|---|
static class |
RedisDataTypeDescription.RedisDataType |
Constructor and Description |
---|
RedisDataTypeDescription(RedisDataTypeDescription.RedisDataType dataType)
Constructor
|
RedisDataTypeDescription(RedisDataTypeDescription.RedisDataType dataType,
String additionalKey)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalKey()
Returns defined additional key.
|
RedisDataTypeDescription.RedisDataType |
getDataType()
Returns defined data type.
|
public RedisDataTypeDescription(RedisDataTypeDescription.RedisDataType dataType)
Constructor
dataType
- data typepublic RedisDataTypeDescription(RedisDataTypeDescription.RedisDataType dataType, String additionalKey)
Constructor
dataType
- data typeadditionalKey
- additional key for hash and sorted setpublic RedisDataTypeDescription.RedisDataType getDataType()
Returns defined data type.
public String getAdditionalKey()
Returns defined additional key.
Copyright © 2019 The Apache Software Foundation. All rights reserved.