static boolean |
TupleUtil.allFieldsNull(Tuple t) |
are all the fields in this tuple null
|
void |
Schema.Field.checkType(CompleteDataType dataType) |
Check to make sure that the given type is the same as the type of this Field
|
void |
Schema.Field.checkType(DataType dataType) |
Deprecated.
|
protected void |
Tuple.checkType(Schema.Field resolvedField,
DataType dataType) |
Check type
|
protected int |
ReadOnlyTupleRep.checkTypeAndNonNull(Schema.Field resolvedField,
DataType dataType) |
override checkTypeAndNonNull
|
protected int |
Tuple.checkTypeAndNonNull(Schema.Field resolvedField,
DataType dataType) |
check the type and make sure it is non null
|
Tuple |
TupleCaptureTransformer.collapse(Tuple in) |
Capture all the extra fields in 'in' into their correct capture fields.
|
void |
Tuple.copyField(Schema.Field sourceField,
Tuple destTuple,
Schema.Field destField) |
Copy the field from this tuple to the destination tuple
|
protected void |
Tuple.copyTuple(Tuple sourceTuple) |
copy the source tuple to this tuple
|
void |
TupleCopier.copyTuple(Tuple sourceTuple,
Tuple destTuple) |
Copy the fields from the sourceTuple to the destTuple.
|
Tuple |
Schema.createTuple(String... fieldValues) |
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(String[] fieldValues,
int offset,
int length) |
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(String[] fieldValues,
int offset,
int length,
String nullString) |
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(List<String> fieldValues,
int offset,
int length) |
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
Schema.createTuple(List<String> fieldValues,
int offset,
int length,
String nullString) |
Create a Tuple with this schema from the supplied collection of strings
|
Tuple |
TupleCaptureTransformer.expand(Tuple in) |
Expand all the capture fields in 'in'
|
static Object |
TupleUtil.generateRandomValue(Random random,
CompleteDataType type,
int maxCount,
int flags) |
Build a random value appropriate to the complete data type
|
Tuple |
Tuple.getAllocatedTuple(int fieldIndex) |
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getAllocatedTuple(Schema.Field field) |
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getAllocatedTuple(String fieldPathName) |
Return a reference (not a copy) to the specified nested tuple field.
|
ByteArrayView |
Tuple.getBlobBuffer(int fieldIndex) |
Return a ByteArrayView for a given blob field.
|
ByteArrayView |
Tuple.getBlobBuffer(Schema.Field field) |
Return a ByteArrayView for a given blob field.
|
ByteArrayView |
Tuple.getBlobBuffer(String fieldPathName) |
Return a ByteArrayView for a given blob field.
|
protected ByteArrayView |
ReadOnlyCompositeTuple.getBlobBufferImpl(Schema.Field field) |
|
protected ByteArrayView |
ReadOnlyTupleByIndexWrapper.getBlobBufferImpl(Schema.Field field) |
|
ByteArrayView |
ReadOnlyTupleRep.getBlobBufferImpl(Schema.Field field) |
|
protected ByteArrayView |
ReadWriteTupleWrapper.getBlobBufferImpl(Schema.Field field) |
|
ByteArrayView |
TupleRep.getBlobBufferImpl(Schema.Field field) |
|
boolean |
Tuple.getBoolean(int fieldIndex) |
Return the value of the boolean field at a specified field index.
|
boolean |
Tuple.getBoolean(Schema.Field field) |
Return the value of a specified boolean field.
|
boolean |
Tuple.getBoolean(String fieldPathName) |
Return the value of a named boolean field.
|
protected byte |
ReadOnlyCompositeTuple.getBooleanAsByteImpl(Schema.Field field) |
|
protected byte |
ReadOnlyTupleByIndexWrapper.getBooleanAsByteImpl(Schema.Field field) |
|
byte |
ReadOnlyTupleRep.getBooleanAsByteImpl(Schema.Field field) |
|
protected byte |
ReadWriteTupleWrapper.getBooleanAsByteImpl(Schema.Field field) |
|
byte |
TupleRep.getBooleanAsByteImpl(Schema.Field field) |
|
protected boolean |
ReadOnlyCompositeTuple.getBooleanImpl(Schema.Field field) |
|
protected boolean |
ReadOnlyTupleByIndexWrapper.getBooleanImpl(Schema.Field field) |
|
boolean |
ReadOnlyTupleRep.getBooleanImpl(Schema.Field field) |
|
protected boolean |
ReadWriteTupleWrapper.getBooleanImpl(Schema.Field field) |
|
boolean |
TupleRep.getBooleanImpl(Schema.Field field) |
|
Tuple |
Tuple.getCapture(int fieldIndex) |
Return the value of the named capture field.
|
Tuple |
Tuple.getCapture(Schema.Field field) |
Return the value of the named capture field.
|
Tuple |
Tuple.getCapture(String fieldPathName) |
Return the value of the named capture field.
|
protected Tuple |
ReadOnlyCompositeTuple.getCaptureImpl(Schema.Field field) |
|
protected Tuple |
ReadOnlyTupleByIndexWrapper.getCaptureImpl(Schema.Field field) |
|
Tuple |
ReadOnlyTupleRep.getCaptureImpl(Schema.Field field) |
|
protected Tuple |
ReadWriteTupleWrapper.getCaptureImpl(Schema.Field field) |
|
protected abstract Tuple |
Tuple.getCaptureImpl(Schema.Field field) |
Get capture field
|
protected Tuple |
TupleRep.getCaptureImpl(Schema.Field field) |
|
double |
Tuple.getDouble(int fieldIndex) |
Return the value of the double field at a specified field index.
|
double |
Tuple.getDouble(Schema.Field field) |
Return the value of a specified double field.
|
double |
Tuple.getDouble(String fieldPathName) |
Return the value of a named double field.
|
protected double |
ReadOnlyCompositeTuple.getDoubleImpl(Schema.Field field) |
|
protected double |
ReadOnlyTupleByIndexWrapper.getDoubleImpl(Schema.Field field) |
|
double |
ReadOnlyTupleRep.getDoubleImpl(Schema.Field field) |
|
protected double |
ReadWriteTupleWrapper.getDoubleImpl(Schema.Field field) |
|
double |
TupleRep.getDoubleImpl(Schema.Field field) |
|
Schema.Field |
Schema.getField(String fieldPathName) |
Return a Field object with the given field pathname in or under this
schema.
|
Object |
Tuple.getField(int fieldIndex) |
Return the value of the field at a specified field index.
|
Object |
Tuple.getField(String fieldPathName) |
Return the value of a named field.
|
int |
TupleUtil.RepMethods.getFieldLength(Tuple tuple,
Schema.Field field) |
Get field length
|
Function |
Tuple.getFunction(int fieldIndex) |
Return the value of the function field at a specified field index.
|
Function |
Tuple.getFunction(Schema.Field field) |
Return the value of the given function field.
|
Function |
Tuple.getFunction(String fieldName) |
Return the value of the named function field.
|
protected Function |
ReadOnlyCompositeTuple.getFunctionImpl(Schema.Field field) |
|
protected Function |
ReadOnlyTupleByIndexWrapper.getFunctionImpl(Schema.Field field) |
|
protected Function |
ReadOnlyTupleRep.getFunctionImpl(Schema.Field field) |
|
protected Function |
ReadWriteTupleWrapper.getFunctionImpl(Schema.Field field) |
|
protected Function |
TupleRep.getFunctionImpl(Schema.Field field) |
|
int |
Tuple.getInt(int fieldIndex) |
Return the value of the int field at a specified field index.
|
int |
Tuple.getInt(Schema.Field field) |
Return the value of a specified int field.
|
int |
Tuple.getInt(String fieldPathName) |
Return the value of a named int field.
|
protected int |
ReadOnlyCompositeTuple.getIntImpl(Schema.Field field) |
|
protected int |
ReadOnlyTupleByIndexWrapper.getIntImpl(Schema.Field field) |
|
int |
ReadOnlyTupleRep.getIntImpl(Schema.Field field) |
|
protected int |
ReadWriteTupleWrapper.getIntImpl(Schema.Field field) |
|
int |
TupleRep.getIntImpl(Schema.Field field) |
|
List<?> |
Tuple.getList(int fieldIndex) |
Return the value of the list field at a specified field index.
|
List<?> |
Tuple.getList(Schema.Field field) |
Return the value of a specified list field.
|
List<?> |
Tuple.getList(String fieldPathName) |
Return the value of a named list field.
|
protected List<?> |
ReadOnlyCompositeTuple.getListImpl(Schema.Field field) |
|
protected List<?> |
ReadOnlyTupleByIndexWrapper.getListImpl(Schema.Field field) |
|
List<?> |
ReadOnlyTupleRep.getListImpl(Schema.Field field) |
|
protected List<?> |
ReadWriteTupleWrapper.getListImpl(Schema.Field field) |
|
List<?> |
TupleRep.getListImpl(Schema.Field field) |
|
long |
Tuple.getLong(int fieldIndex) |
Return the value of the long field at a specified field index.
|
long |
Tuple.getLong(Schema.Field field) |
Return the value of a specified long field.
|
long |
Tuple.getLong(String fieldPathName) |
Return the value of a named long field.
|
protected long |
ReadOnlyCompositeTuple.getLongImpl(Schema.Field field) |
|
protected long |
ReadOnlyTupleByIndexWrapper.getLongImpl(Schema.Field field) |
|
long |
ReadOnlyTupleRep.getLongImpl(Schema.Field field) |
|
protected long |
ReadWriteTupleWrapper.getLongImpl(Schema.Field field) |
|
long |
TupleRep.getLongImpl(Schema.Field field) |
|
Schema.Field |
Schema.Field.getNestedField(String fieldPathName) |
Return a field that identifies a field in a nested tuple field.
|
Schema.Field[] |
Schema.Field.getNestedFields() |
Return an array of fields, each of which identifies a field in a nested tuple field.
|
protected Tuple |
ReadOnlyCompositeTuple.getReadOnlyTuple(Schema.Field field,
int flags) |
|
protected abstract Tuple |
ReadOnlyTuple.getReadOnlyTuple(Schema.Field f,
int flags) |
The method that ReadOnly tuples are supposed to implement to get a nested Tuple so
that we can consolidate nested tuple logic here for.
|
protected Tuple |
ReadOnlyTupleByIndexWrapper.getReadOnlyTuple(Schema.Field field,
int flags) |
|
protected Tuple |
ReadOnlyTupleRep.getReadOnlyTuple(Schema.Field field,
int flags) |
|
String |
Tuple.getString(int fieldIndex) |
Return the value of the named string field.
|
String |
Tuple.getString(Schema.Field field) |
Return the value of a specified string field.
|
String |
Tuple.getString(String fieldPathName) |
Return the value of the named string field.
|
protected String |
ReadOnlyCompositeTuple.getStringImpl(Schema.Field field) |
|
protected String |
ReadOnlyTupleByIndexWrapper.getStringImpl(Schema.Field field) |
|
String |
ReadOnlyTupleRep.getStringImpl(Schema.Field field) |
|
protected String |
ReadWriteTupleWrapper.getStringImpl(Schema.Field field) |
|
String |
TupleRep.getStringImpl(Schema.Field field) |
|
Timestamp |
Tuple.getTimestamp(int fieldIndex) |
Return the value of the timestamp field at a specified field index.
|
Timestamp |
Tuple.getTimestamp(Schema.Field field) |
Return the value of a specified timestamp field.
|
Timestamp |
Tuple.getTimestamp(String fieldPathName) |
Return the value of a named timestamp field.
|
protected long |
ReadOnlyCompositeTuple.getTimestampAsLongImpl(Schema.Field field) |
|
protected long |
ReadOnlyTupleByIndexWrapper.getTimestampAsLongImpl(Schema.Field field) |
|
long |
ReadOnlyTupleRep.getTimestampAsLongImpl(Schema.Field field) |
|
protected long |
ReadWriteTupleWrapper.getTimestampAsLongImpl(Schema.Field field) |
|
long |
TupleRep.getTimestampAsLongImpl(Schema.Field field) |
|
protected Timestamp |
ReadOnlyCompositeTuple.getTimestampImpl(Schema.Field field) |
|
protected Timestamp |
ReadOnlyTupleByIndexWrapper.getTimestampImpl(Schema.Field field) |
|
Timestamp |
ReadOnlyTupleRep.getTimestampImpl(Schema.Field field) |
|
protected Timestamp |
ReadWriteTupleWrapper.getTimestampImpl(Schema.Field field) |
|
Timestamp |
TupleRep.getTimestampImpl(Schema.Field field) |
|
Tuple |
Tuple.getTuple(int fieldIndex) |
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getTuple(Schema.Field field) |
Return a reference (not a copy) to the specified nested tuple field.
|
Tuple |
Tuple.getTuple(String fieldPathName) |
Return a reference (not a copy) to the specified nested tuple field.
|
int |
ReadOnlyCompositeTuple.getTupleId() |
return the tupleid of the 0th tuple in the list
|
int |
ReadOnlyTupleByIndexWrapper.getTupleId() |
|
int |
ReadOnlyTupleRep.getTupleId() |
|
int |
ReadWriteTupleWrapper.getTupleId() |
|
protected Tuple |
ReadOnlyTuple.getTupleImpl(Schema.Field field,
int flags) |
Get the tuple for the given field.
|
protected Tuple |
ReadWriteTupleWrapper.getTupleImpl(Schema.Field field,
int flags) |
|
Tuple |
TupleRep.getTupleImpl(Schema.Field field,
int flags) |
|
boolean |
Tuple.isNull(int fieldIndex) |
Determines whether a field in the tuple is null.
|
boolean |
Tuple.isNull(String fieldPathName) |
Determines whether a field in the tuple is null.
|
static Tuple |
ClusterNotificationTupleFields.newTuple(int clusterEventType,
String param0,
String param1,
String param2) |
Return a new ClusterNotification tuple.
|
static Tuple |
ControlStream.newTuple(ControlStream.Subsystems subsystem,
int id,
String param0,
String param1,
String param2) |
Create a new tuple with the schema of the control stream and set its fields with the supplied values.
|
static Tuple |
HATupleFields.newTuple(Constants.LeadershipStatus leadershipStatus) |
Return a new HA tuple.
|
ReadOnlyCompositeTuple |
ReadOnlyCompositeTuple.reset(Tuple... newTuples) |
Reset the tuple with a set of newTuples.
|
void |
Tuple.setBlobBuffer(int fieldIndex,
ByteArrayView value) |
Set the blob field at a specified field index to a copy of a specified blob.
|
void |
Tuple.setBlobBuffer(Schema.Field field,
ByteArrayView value) |
Set a specified blob field to a copy of a specified blob.
|
void |
Tuple.setBlobBuffer(String fieldPathName,
ByteArrayView value) |
Set a named blob field to a copy of a specified blob.
|
protected void |
ReadOnlyTuple.setBlobBufferImpl(Schema.Field field,
ByteArrayView value) |
|
protected void |
ReadWriteTupleWrapper.setBlobBufferImpl(Schema.Field field,
ByteArrayView value) |
|
void |
TupleRep.setBlobBufferImpl(Schema.Field field,
ByteArrayView blob) |
|
void |
Tuple.setBoolean(int fieldIndex,
boolean value) |
Set the boolean field at a specified field index to a specified value.
|
void |
Tuple.setBoolean(Schema.Field field,
boolean value) |
Set a named boolean field to a specified value.
|
void |
Tuple.setBoolean(String fieldPathName,
boolean value) |
Set a named boolean field to a specified value.
|
protected void |
ReadOnlyTuple.setBooleanImpl(Schema.Field field,
boolean value) |
|
protected void |
ReadWriteTupleWrapper.setBooleanImpl(Schema.Field field,
boolean value) |
|
void |
TupleRep.setBooleanImpl(Schema.Field field,
boolean value) |
|
void |
Tuple.setCapture(int field,
Tuple value) |
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setCapture(Schema.Field field,
Tuple value) |
Set a specified capture field to a copy of a specified tuple.
|
void |
Tuple.setCapture(String field,
Tuple value) |
Set a specified capture field to a copy of a specified tuple.
|
protected void |
ReadOnlyTuple.setCaptureImpl(Schema.Field field,
Tuple value,
boolean makeCopy) |
|
protected void |
ReadWriteTupleWrapper.setCaptureImpl(Schema.Field field,
Tuple value,
boolean makeCopy) |
|
void |
TupleRep.setCaptureImpl(Schema.Field field,
Tuple value,
boolean makeCopy) |
|
void |
Tuple.setDouble(int fieldIndex,
double value) |
Set the double field at a specified field index to a specified value.
|
void |
Tuple.setDouble(Schema.Field field,
double value) |
Set a named double field to a specified value.
|
void |
Tuple.setDouble(String fieldPathName,
double value) |
Set a named double field to a specified value.
|
protected void |
ReadOnlyTuple.setDoubleImpl(Schema.Field field,
double value) |
|
protected void |
ReadWriteTupleWrapper.setDoubleImpl(Schema.Field field,
double value) |
|
void |
TupleRep.setDoubleImpl(Schema.Field field,
double value) |
|
void |
Tuple.setField(int fieldIndex,
Object value) |
Set the field at a specified field index to a specified boxed value.
|
void |
Tuple.setField(Schema.Field field,
Object value) |
Set a specified field to a specified boxed value.
|
void |
Tuple.setField(Schema.Field field,
Object value,
CSV.FormatInfo format) |
Set the field at a specified field name to a specified boxed value.
|
void |
Tuple.setField(String fieldPathName,
Object value) |
Set the named field to a specified value.
|
void |
Tuple.setField(String fieldPathName,
Object value,
CSV.FormatInfo format) |
Set the field at a specified field name to a specified boxed value.
|
static void |
TupleUtil.setField(Tuple tuple,
Schema.Field field,
CharSequence value,
CSV.FormatInfo csvFormat) |
Set a specified field to the values the supplied value string.
|
static void |
TupleUtil.setField(Tuple tuple,
Schema.Field field,
CharSequence value,
String nullString) |
Deprecated.
|
void |
Tuple.setFields(Map<String,Object> fields) |
Takes a map of field names and values as Objects and sets the corresponding tuple field with the supplied value.
|
void |
Tuple.setFunction(int field,
Function value) |
Set a specified function field to the given Function
|
void |
Tuple.setFunction(Schema.Field field,
Function value) |
Set a specified function field to the given Function
|
void |
Tuple.setFunction(String field,
Function value) |
Set a specified function field to the given Function
|
protected void |
ReadOnlyTuple.setFunctionImpl(Schema.Field pathlessField,
Function value) |
|
protected void |
ReadWriteTupleWrapper.setFunctionImpl(Schema.Field pathlessField,
Function value) |
|
protected void |
TupleRep.setFunctionImpl(Schema.Field field,
Function value) |
|
void |
Tuple.setInt(int fieldIndex,
int value) |
Set the int field at a specified field index to a specified value.
|
void |
Tuple.setInt(Schema.Field field,
int value) |
Set a specified int field to a specified value.
|
void |
Tuple.setInt(String fieldPathName,
int value) |
Set the named int field to a specified value.
|
protected void |
ReadOnlyTuple.setIntImpl(Schema.Field field,
int value) |
|
protected void |
ReadWriteTupleWrapper.setIntImpl(Schema.Field field,
int value) |
|
void |
TupleRep.setIntImpl(Schema.Field field,
int value) |
|
void |
Tuple.setList(int fieldIndex,
List<?> value) |
Set the list field at a specified field index to a copy of the specified value.
|
void |
Tuple.setList(Schema.Field field,
List<?> value) |
Set a specified list field to a copy of a specified value.
|
void |
Tuple.setList(String fieldPathName,
List<?> value) |
Set a named list field to a copy of a specified value.
|
static List<?> |
TupleUtil.setListElement(String name,
CompleteDataType elementType,
List<?> list,
int index,
Object value) |
|
protected void |
ReadOnlyTuple.setListImpl(Schema.Field field,
List<?> value) |
|
protected void |
ReadWriteTupleWrapper.setListImpl(Schema.Field field,
List<?> value) |
|
void |
TupleRep.setListImpl(Schema.Field field,
List<?> value) |
|
void |
Tuple.setLong(int fieldIndex,
long value) |
Set the long field at a specified field index to a specified value.
|
void |
Tuple.setLong(Schema.Field field,
long value) |
Set a specified long field to a specified value.
|
void |
Tuple.setLong(String fieldPathName,
long value) |
Set a named long field to a specified value.
|
protected void |
ReadOnlyTuple.setLongImpl(Schema.Field field,
long value) |
|
protected void |
ReadWriteTupleWrapper.setLongImpl(Schema.Field field,
long value) |
|
void |
TupleRep.setLongImpl(Schema.Field field,
long value) |
|
void |
Tuple.setNull(String fieldPathName) |
Set a named field to null.
|
void |
Tuple.setString(int fieldIndex,
CharSequence value) |
Set the string field at a specified field index to a specified value.
|
void |
Tuple.setString(Schema.Field field,
CharSequence value) |
Set a specified string field to a specified value.
|
void |
Tuple.setString(String fieldPathName,
CharSequence value) |
Set a named field to a specified value.
|
protected void |
ReadOnlyTuple.setStringImpl(Schema.Field field,
CharSequence value) |
|
protected void |
ReadWriteTupleWrapper.setStringImpl(Schema.Field field,
CharSequence value) |
|
void |
TupleRep.setStringImpl(Schema.Field field,
CharSequence value) |
|
void |
Tuple.setTimestamp(int fieldIndex,
Timestamp value) |
Set the timestamp field at a specified field index to a specified value.
|
void |
Tuple.setTimestamp(Schema.Field field,
Timestamp value) |
Set a named timestamp field to a specified value.
|
void |
Tuple.setTimestamp(String fieldPathName,
Timestamp value) |
Set a named timestamp field to a specified value.
|
protected void |
ReadOnlyTuple.setTimestampImpl(Schema.Field field,
long value) |
|
protected void |
ReadOnlyTuple.setTimestampImpl(Schema.Field field,
Timestamp value) |
|
protected void |
ReadWriteTupleWrapper.setTimestampImpl(Schema.Field field,
long value) |
|
protected void |
ReadWriteTupleWrapper.setTimestampImpl(Schema.Field field,
Timestamp value) |
|
void |
TupleRep.setTimestampImpl(Schema.Field field,
long value) |
|
void |
TupleRep.setTimestampImpl(Schema.Field field,
Timestamp value) |
|
void |
Tuple.setTuple(int fieldIndex,
Tuple value) |
Set a specified nested tuple field to that of the specified tuple.
|
void |
Tuple.setTuple(Schema.Field field,
Tuple value) |
Set a specified nested tuple field to that of the specified tuple
NOTE: A copy of the the tuple may be made to convert the given tuple to the appropriate
internal representation.
|
void |
Tuple.setTuple(String fieldPathName,
Tuple value) |
Set a named nested tuple field to a specified tuple.
|
void |
ReadOnlyTuple.setTupleId(int id) |
|
void |
ReadWriteTupleWrapper.setTupleId(int id) |
|
protected void |
ReadOnlyTuple.setTupleImpl(Schema.Field field,
Tuple value) |
|
protected void |
ReadWriteTupleWrapper.setTupleImpl(Schema.Field field,
Tuple value) |
|
void |
TupleRep.setTupleImpl(Schema.Field field,
Tuple value) |
|
static String[][] |
TupleUtil.splitTupleString(String source) |
Deprecated.
|
static String |
TupleUtil.tupleEquals(Tuple t1,
Tuple t2,
EnumSet<TupleCopier.Options> options) |
Compare 2 tuples with the given options
|
void |
ReadOnlyCompositeTuple.verify() |
|
void |
ReadOnlyTupleByIndexWrapper.verify() |
|
void |
ReadOnlyTupleRep.verify() |
|
void |
ReadWriteTupleWrapper.verify() |
|
void |
TupleRep.verify() |
|
static Object |
ReadOnlyTupleByIndexWrapper.wrapObject(CompleteDataType cdt,
Object o) |
|