static Schema |
SchemaUtil.addFields(Schema base,
Schema.Field... additionalFields) |
Create a new schema augmenting the fields in the base schema with additional fields
|
static Schema |
SchemaUtil.addFields(Schema base,
String newName,
Schema.Field... additionalFields) |
Create a new schema augmenting the fields in the base schema with additional fields
|
static byte[] |
SchemaUtil.buildHash(Schema.Field[] fields,
boolean includeFieldNames) |
|
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
|
void |
Tuple.copyField(Schema.Field sourceField,
Tuple destTuple,
Schema.Field destField) |
Copy the field from this tuple to the destination tuple
|
boolean |
Schema.Field.equalsNoCapture(Schema.Field other) |
Compare non-capture fields
|
String |
TupleUtil.DebuggerFieldFormatter.formatFieldValue(Schema.Field field,
Object fieldValue,
CSV.FormatInfo format,
boolean verbose,
boolean showTupleId,
String nullString,
boolean hexEncodeBlobs,
boolean quoteNullStrings) |
Format field value
|
T |
DataType.Registry.get(Schema.Field field) |
Return the factory for the type of the specified Field.
|
Tuple |
Tuple.getAllocatedTuple(Schema.Field field) |
Return a reference (not a copy) to the specified nested tuple field.
|
ByteArrayView |
Tuple.getBlobBuffer(Schema.Field field) |
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(Schema.Field field) |
Return the value of a specified 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(Schema.Field field) |
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(Schema.Field field) |
Return the value of a specified 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) |
|
Object |
Tuple.getField(Schema.Field field) |
Return the value of a specified field.
|
String |
Tuple.getFieldAsString(Schema.Field field,
Tuple.TupleFormatter formatter) |
|
int |
TupleUtil.RepMethods.getFieldLength(Tuple tuple,
Schema.Field field) |
Get field length
|
Function |
Tuple.getFunction(Schema.Field field) |
Return the value of the given 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) |
|
static CompleteDataType |
SchemaUtil.getInnerType(Schema.Field f) |
|
int |
Tuple.getInt(Schema.Field field) |
Return the value of a specified 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(Schema.Field field) |
Return the value of a specified 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(Schema.Field field) |
Return the value of a specified 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) |
|
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) |
|
static Schema |
SchemaUtil.getSchema(Schema.Field f) |
|
String |
Tuple.getString(Schema.Field field) |
Return the value of a specified 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(Schema.Field field) |
Return the value of a specified 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(Schema.Field field) |
Return a reference (not a copy) to the specified nested tuple field.
|
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(Schema.Field field) |
Determines whether the given field's value in this Tuple is null.
|
protected boolean |
ReadOnlyCompositeTuple.isNullImpl(Schema.Field field) |
|
protected boolean |
ReadOnlyTupleByIndexWrapper.isNullImpl(Schema.Field field) |
|
boolean |
ReadOnlyTupleRep.isNullImpl(Schema.Field field) |
|
protected boolean |
ReadWriteTupleWrapper.isNullImpl(Schema.Field field) |
|
boolean |
TupleRep.isNullImpl(Schema.Field field) |
|
void |
Tuple.setBlobBuffer(Schema.Field field,
ByteArrayView value) |
Set a specified 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(Schema.Field field,
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(Schema.Field 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(Schema.Field field,
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(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.
|
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.setFunction(Schema.Field 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(Schema.Field field,
int value) |
Set a specified 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(Schema.Field field,
List<?> value) |
Set a specified list field to a copy of a specified 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(Schema.Field field,
long value) |
Set a specified 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(Schema.Field field) |
Set the specified field to null
|
protected void |
ReadOnlyTuple.setNullImpl(Schema.Field field) |
|
protected void |
ReadWriteTupleWrapper.setNullImpl(Schema.Field field) |
|
void |
TupleRep.setNullImpl(Schema.Field field) |
|
void |
Tuple.setString(Schema.Field field,
CharSequence value) |
Set a specified string 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(Schema.Field field,
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(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.
|
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 Schema.Field |
SchemaUtil.superSetField(Schema.Field oldField,
Schema.Field newField,
Set<SchemaUtil.CoercionOptions> options,
CapturedSchemas capturedSchemas) |
|
void |
SchemaUtil.SchemaTraversal.visitField(Schema.Field field,
String fieldPath) |
This method will be called for each and every field in the schema, including
nested fields and fields in lists of tuples
|