@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Datum extends Object implements Serializable, Cloneable, StructuredPojo
Datum represents a single data point in a query result.
Constructor and Description |
---|
Datum() |
Modifier and Type | Method and Description |
---|---|
Datum |
clone() |
boolean |
equals(Object obj) |
List<Datum> |
getArrayValue()
Indicates if the data point is an array.
|
Boolean |
getNullValue()
Indicates if the data point is null.
|
Row |
getRowValue()
Indicates if the data point is a row.
|
String |
getScalarValue()
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
|
List<TimeSeriesDataPoint> |
getTimeSeriesValue()
Indicates if the data point is a timeseries data type.
|
int |
hashCode() |
Boolean |
isNullValue()
Indicates if the data point is null.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArrayValue(Collection<Datum> arrayValue)
Indicates if the data point is an array.
|
void |
setNullValue(Boolean nullValue)
Indicates if the data point is null.
|
void |
setRowValue(Row rowValue)
Indicates if the data point is a row.
|
void |
setScalarValue(String scalarValue)
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
|
void |
setTimeSeriesValue(Collection<TimeSeriesDataPoint> timeSeriesValue)
Indicates if the data point is a timeseries data type.
|
String |
toString()
Returns a string representation of this object.
|
Datum |
withArrayValue(Collection<Datum> arrayValue)
Indicates if the data point is an array.
|
Datum |
withArrayValue(Datum... arrayValue)
Indicates if the data point is an array.
|
Datum |
withNullValue(Boolean nullValue)
Indicates if the data point is null.
|
Datum |
withRowValue(Row rowValue)
Indicates if the data point is a row.
|
Datum |
withScalarValue(String scalarValue)
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
|
Datum |
withTimeSeriesValue(Collection<TimeSeriesDataPoint> timeSeriesValue)
Indicates if the data point is a timeseries data type.
|
Datum |
withTimeSeriesValue(TimeSeriesDataPoint... timeSeriesValue)
Indicates if the data point is a timeseries data type.
|
public void setScalarValue(String scalarValue)
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
scalarValue
- Indicates if the data point is a scalar value such as integer, string, double, or Boolean.public String getScalarValue()
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
public Datum withScalarValue(String scalarValue)
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
scalarValue
- Indicates if the data point is a scalar value such as integer, string, double, or Boolean.public List<TimeSeriesDataPoint> getTimeSeriesValue()
Indicates if the data point is a timeseries data type.
public void setTimeSeriesValue(Collection<TimeSeriesDataPoint> timeSeriesValue)
Indicates if the data point is a timeseries data type.
timeSeriesValue
- Indicates if the data point is a timeseries data type.public Datum withTimeSeriesValue(TimeSeriesDataPoint... timeSeriesValue)
Indicates if the data point is a timeseries data type.
NOTE: This method appends the values to the existing list (if any). Use
setTimeSeriesValue(java.util.Collection)
or withTimeSeriesValue(java.util.Collection)
if you
want to override the existing values.
timeSeriesValue
- Indicates if the data point is a timeseries data type.public Datum withTimeSeriesValue(Collection<TimeSeriesDataPoint> timeSeriesValue)
Indicates if the data point is a timeseries data type.
timeSeriesValue
- Indicates if the data point is a timeseries data type.public List<Datum> getArrayValue()
Indicates if the data point is an array.
public void setArrayValue(Collection<Datum> arrayValue)
Indicates if the data point is an array.
arrayValue
- Indicates if the data point is an array.public Datum withArrayValue(Datum... arrayValue)
Indicates if the data point is an array.
NOTE: This method appends the values to the existing list (if any). Use
setArrayValue(java.util.Collection)
or withArrayValue(java.util.Collection)
if you want to
override the existing values.
arrayValue
- Indicates if the data point is an array.public Datum withArrayValue(Collection<Datum> arrayValue)
Indicates if the data point is an array.
arrayValue
- Indicates if the data point is an array.public void setRowValue(Row rowValue)
Indicates if the data point is a row.
rowValue
- Indicates if the data point is a row.public Row getRowValue()
Indicates if the data point is a row.
public Datum withRowValue(Row rowValue)
Indicates if the data point is a row.
rowValue
- Indicates if the data point is a row.public void setNullValue(Boolean nullValue)
Indicates if the data point is null.
nullValue
- Indicates if the data point is null.public Boolean getNullValue()
Indicates if the data point is null.
public Datum withNullValue(Boolean nullValue)
Indicates if the data point is null.
nullValue
- Indicates if the data point is null.public Boolean isNullValue()
Indicates if the data point is null.
public 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.