public class RedisDataTypeDescription extends Object implements Serializable
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)
dataType
- data typepublic RedisDataTypeDescription(RedisDataTypeDescription.RedisDataType dataType, String additionalKey)
dataType
- data typeadditionalKey
- additional key for hash and sorted setpublic RedisDataTypeDescription.RedisDataType getDataType()
public String getAdditionalKey()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.