public abstract class MinMaxTupleAdapter extends Object implements Tuple, TupleKey, Serializable
Constructor and Description |
---|
MinMaxTupleAdapter() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String field)
Returns the value of a given field
|
Integer |
getBlob(String field)
Returns the blob id of a blob storage for a BLOB type field.
|
Boolean |
getBoolean(String field)
Returns the value of a given field in the form of a boolean
|
byte[] |
getBytes(String field)
Returns the value of a given field in the form of a byte[]
|
Date |
getDate(String field)
Returns the value of a given field in the form of a date (with precision of YYYY/MM/DD)
|
Double |
getDouble(String field)
Returns the value of a given field in the form of a double
|
List<Field> |
getFields()
Return the collection of format fields for the tuple.
|
Float |
getFloat(String field)
Returns the value of a given field in the form of a float
|
Integer |
getInteger(String field)
Returns the value of a given field in the form of an integer
|
Long |
getLong(String field)
Returns the value of a given field in the form of a long
|
Short |
getShort(String field)
Returns the value of a given field in the form of a short
|
String |
getString(String field)
Returns the value of a given field in the form of a String
|
Time |
getTime(String field)
Returns the value of a given field in the form of a time
|
Timestamp |
getTimestamp(String field)
Returns the value of a given field in the form of a Date (with milliseconds precision)
|
TupleKey |
getTupleKey()
Returns the key of this tuple
|
Tuple |
put(String field,
Object value)
Sets the value for a given field in this tuple.
|
Tuple |
putBlob(String field,
int blobId)
Sets a blob id value for a blob field in this tuple.
|
Tuple |
putBoolean(String field,
Boolean value)
Sets a boolean value for a given field in this tuple.
|
Tuple |
putBytes(String field,
byte[] value)
Sets a Byte[] value for a given field in this tuple.
|
Tuple |
putDate(String field,
Date value)
Sets a Date value for a given field in this tuple.
|
Tuple |
putDouble(String field,
Double value)
Sets a double value for a given field in this tuple.
|
Tuple |
putFloat(String field,
Float value)
Sets a float value for a given field in this tuple.
|
Tuple |
putIgnore(String field)
Marks a field as an ignore field.
|
Tuple |
putInteger(String field,
Integer value)
Sets an Integer value for a given field in this tuple.
|
Tuple |
putLong(String field,
Long value)
Sets a Long value for a given field in this tuple.
|
Tuple |
putShort(String field,
Short value)
Sets a short value for a given field in this tuple.
|
Tuple |
putString(String field,
String value)
Sets a String value for a given field in this tuple.
|
Tuple |
putTime(String field,
Time value)
Sets a time value for a given field in this tuple.
|
Tuple |
putTimestamp(String field,
Timestamp value)
Sets a Date value for a given field in this tuple.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo
public Object get(String field)
Tuple
public Boolean getBoolean(String field)
Tuple
getBoolean
in interface Tuple
field
- Field namepublic String getString(String field)
Tuple
public byte[] getBytes(String field)
Tuple
public Integer getInteger(String field)
Tuple
getInteger
in interface Tuple
field
- Field namepublic Short getShort(String field)
Tuple
public Long getLong(String field)
Tuple
public Float getFloat(String field)
Tuple
public Double getDouble(String field)
Tuple
public Date getDate(String field)
Tuple
public Time getTime(String field)
Tuple
public Timestamp getTimestamp(String field)
Tuple
getTimestamp
in interface Tuple
field
- Field namepublic List<Field> getFields()
Tuple
public Tuple put(String field, Object value)
Tuple
public Tuple putBoolean(String field, Boolean value)
Tuple
putBoolean
in interface Tuple
field
- Field namevalue
- Boolean value.public Tuple putString(String field, String value)
Tuple
public Tuple putBytes(String field, byte[] value)
Tuple
public Tuple putInteger(String field, Integer value)
Tuple
putInteger
in interface Tuple
field
- Field namevalue
- Integer value.public Tuple putShort(String field, Short value)
Tuple
public Tuple putLong(String field, Long value)
Tuple
public Tuple putFloat(String field, Float value)
Tuple
public Tuple putDouble(String field, Double value)
Tuple
public Tuple putTimestamp(String field, Timestamp value)
Tuple
putTimestamp
in interface Tuple
field
- Field namevalue
- Date value.public Tuple putDate(String field, Date value)
Tuple
public Tuple putTime(String field, Time value)
Tuple
public TupleKey getTupleKey()
Tuple
getTupleKey
in interface Tuple
public Integer getBlob(String field)
Tuple
public Tuple putBlob(String field, int blobId)
Tuple
Copyright © 2020. All rights reserved.