AttributeValue
instead.@Deprecated public class AttributeValue extends Object implements Serializable
AttributeValue can be String
,
Number
,
Binary
,
StringSet
,
NumberSet
,
BinarySet
.
Constructor and Description |
---|
AttributeValue()
Deprecated.
Default constructor for a new AttributeValue object.
|
AttributeValue(List<String> sS)
Deprecated.
Constructs a new AttributeValue object.
|
AttributeValue(String s)
Deprecated.
Constructs a new AttributeValue object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
ByteBuffer |
getB()
Deprecated.
Binary attributes are sequences of unsigned bytes.
|
List<ByteBuffer> |
getBS()
Deprecated.
A set of binary attributes.
|
String |
getN()
Deprecated.
Numbers are positive or negative exact-value decimals and integers.
|
List<String> |
getNS()
Deprecated.
A set of numbers.
|
String |
getS()
Deprecated.
Strings are Unicode with UTF-8 binary encoding.
|
List<String> |
getSS()
Deprecated.
A set of strings.
|
int |
hashCode()
Deprecated.
|
void |
setB(ByteBuffer b)
Deprecated.
Binary attributes are sequences of unsigned bytes.
|
void |
setBS(Collection<ByteBuffer> bS)
Deprecated.
A set of binary attributes.
|
void |
setN(String n)
Deprecated.
Numbers are positive or negative exact-value decimals and integers.
|
void |
setNS(Collection<String> nS)
Deprecated.
A set of numbers.
|
void |
setS(String s)
Deprecated.
Strings are Unicode with UTF-8 binary encoding.
|
void |
setSS(Collection<String> sS)
Deprecated.
A set of strings.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
AttributeValue |
withB(ByteBuffer b)
Deprecated.
Binary attributes are sequences of unsigned bytes.
|
AttributeValue |
withBS(ByteBuffer... bS)
Deprecated.
A set of binary attributes.
|
AttributeValue |
withBS(Collection<ByteBuffer> bS)
Deprecated.
A set of binary attributes.
|
AttributeValue |
withN(String n)
Deprecated.
Numbers are positive or negative exact-value decimals and integers.
|
AttributeValue |
withNS(Collection<String> nS)
Deprecated.
A set of numbers.
|
AttributeValue |
withNS(String... nS)
Deprecated.
A set of numbers.
|
AttributeValue |
withS(String s)
Deprecated.
Strings are Unicode with UTF-8 binary encoding.
|
AttributeValue |
withSS(Collection<String> sS)
Deprecated.
A set of strings.
|
AttributeValue |
withSS(String... sS)
Deprecated.
A set of strings.
|
public AttributeValue()
public AttributeValue(String s)
s
- Strings are Unicode with UTF-8 binary encoding. The maximum
size is limited by the size of the primary key (1024 bytes as a range
part of a key or 2048 bytes as a single part hash key) or the item
size (64k).public String getS()
public void setS(String s)
s
- Strings are Unicode with UTF-8 binary encoding. The maximum size is
limited by the size of the primary key (1024 bytes as a range part of
a key or 2048 bytes as a single part hash key) or the item size (64k).public AttributeValue withS(String s)
Returns a reference to this object so that method calls can be chained together.
s
- Strings are Unicode with UTF-8 binary encoding. The maximum size is
limited by the size of the primary key (1024 bytes as a range part of
a key or 2048 bytes as a single part hash key) or the item size (64k).public String getN()
public void setN(String n)
n
- Numbers are positive or negative exact-value decimals and integers. A
number can have up to 38 digits precision and can be between 10^-128
to 10^+126.public AttributeValue withN(String n)
Returns a reference to this object so that method calls can be chained together.
n
- Numbers are positive or negative exact-value decimals and integers. A
number can have up to 38 digits precision and can be between 10^-128
to 10^+126.public ByteBuffer getB()
public void setB(ByteBuffer b)
b
- Binary attributes are sequences of unsigned bytes.public AttributeValue withB(ByteBuffer b)
Returns a reference to this object so that method calls can be chained together.
b
- Binary attributes are sequences of unsigned bytes.public void setSS(Collection<String> sS)
sS
- A set of strings.public AttributeValue withSS(String... sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A set of strings.public AttributeValue withSS(Collection<String> sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A set of strings.public void setNS(Collection<String> nS)
nS
- A set of numbers.public AttributeValue withNS(String... nS)
Returns a reference to this object so that method calls can be chained together.
nS
- A set of numbers.public AttributeValue withNS(Collection<String> nS)
Returns a reference to this object so that method calls can be chained together.
nS
- A set of numbers.public List<ByteBuffer> getBS()
public void setBS(Collection<ByteBuffer> bS)
bS
- A set of binary attributes.public AttributeValue withBS(ByteBuffer... bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A set of binary attributes.public AttributeValue withBS(Collection<ByteBuffer> bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A set of binary attributes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.