@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Value extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Value() |
Modifier and Type | Method and Description |
---|---|
Value |
clone() |
boolean |
equals(Object obj) |
List<Value> |
getArrayValues()
Arbitrarily nested arrays
|
Long |
getBigIntValue()
Long value
|
Boolean |
getBitValue()
Bit value
|
ByteBuffer |
getBlobValue()
Blob value
|
Double |
getDoubleValue()
Double value
|
Integer |
getIntValue()
Integer value
|
Boolean |
getIsNull()
Is column null
|
Float |
getRealValue()
Float value
|
String |
getStringValue()
String value
|
StructValue |
getStructValue()
Struct or UDT
|
int |
hashCode() |
Boolean |
isBitValue()
Bit value
|
Boolean |
isNull()
Is column null
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArrayValues(Collection<Value> arrayValues)
Arbitrarily nested arrays
|
void |
setBigIntValue(Long bigIntValue)
Long value
|
void |
setBitValue(Boolean bitValue)
Bit value
|
void |
setBlobValue(ByteBuffer blobValue)
Blob value
|
void |
setDoubleValue(Double doubleValue)
Double value
|
void |
setIntValue(Integer intValue)
Integer value
|
void |
setIsNull(Boolean isNull)
Is column null
|
void |
setRealValue(Float realValue)
Float value
|
void |
setStringValue(String stringValue)
String value
|
void |
setStructValue(StructValue structValue)
Struct or UDT
|
String |
toString()
Returns a string representation of this object.
|
Value |
withArrayValues(Collection<Value> arrayValues)
Arbitrarily nested arrays
|
Value |
withArrayValues(Value... arrayValues)
Arbitrarily nested arrays
|
Value |
withBigIntValue(Long bigIntValue)
Long value
|
Value |
withBitValue(Boolean bitValue)
Bit value
|
Value |
withBlobValue(ByteBuffer blobValue)
Blob value
|
Value |
withDoubleValue(Double doubleValue)
Double value
|
Value |
withIntValue(Integer intValue)
Integer value
|
Value |
withIsNull(Boolean isNull)
Is column null
|
Value |
withRealValue(Float realValue)
Float value
|
Value |
withStringValue(String stringValue)
String value
|
Value |
withStructValue(StructValue structValue)
Struct or UDT
|
public List<Value> getArrayValues()
public void setArrayValues(Collection<Value> arrayValues)
arrayValues
- Arbitrarily nested arrayspublic Value withArrayValues(Value... arrayValues)
NOTE: This method appends the values to the existing list (if any). Use
setArrayValues(java.util.Collection)
or withArrayValues(java.util.Collection)
if you want to
override the existing values.
arrayValues
- Arbitrarily nested arrayspublic Value withArrayValues(Collection<Value> arrayValues)
arrayValues
- Arbitrarily nested arrayspublic void setBigIntValue(Long bigIntValue)
bigIntValue
- Long valuepublic Long getBigIntValue()
public Value withBigIntValue(Long bigIntValue)
bigIntValue
- Long valuepublic void setBitValue(Boolean bitValue)
bitValue
- Bit valuepublic Boolean getBitValue()
public Value withBitValue(Boolean bitValue)
bitValue
- Bit valuepublic Boolean isBitValue()
public void setBlobValue(ByteBuffer blobValue)
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
blobValue
- Blob valuepublic ByteBuffer getBlobValue()
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public Value withBlobValue(ByteBuffer blobValue)
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
blobValue
- Blob valuepublic void setDoubleValue(Double doubleValue)
doubleValue
- Double valuepublic Double getDoubleValue()
public Value withDoubleValue(Double doubleValue)
doubleValue
- Double valuepublic void setIntValue(Integer intValue)
intValue
- Integer valuepublic Integer getIntValue()
public Value withIntValue(Integer intValue)
intValue
- Integer valuepublic void setIsNull(Boolean isNull)
isNull
- Is column nullpublic Boolean getIsNull()
public Value withIsNull(Boolean isNull)
isNull
- Is column nullpublic Boolean isNull()
public void setRealValue(Float realValue)
realValue
- Float valuepublic Float getRealValue()
public Value withRealValue(Float realValue)
realValue
- Float valuepublic void setStringValue(String stringValue)
stringValue
- String valuepublic String getStringValue()
public Value withStringValue(String stringValue)
stringValue
- String valuepublic void setStructValue(StructValue structValue)
structValue
- Struct or UDTpublic StructValue getStructValue()
public Value withStructValue(StructValue structValue)
structValue
- Struct or UDTpublic String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.