| Modifier and Type | Class and Description |
|---|---|
class |
BaseStructObjectInspector |
static class |
NullStructSerDe.NullStructSerDeObjectInspector
A object inspector for null struct serde.
|
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInspector |
BaseStructObjectInspector.MyField.fieldObjectInspector |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
BaseStructObjectInspector.MyField.getFieldObjectInspector() |
ObjectInspector |
OpenCSVSerde.getObjectInspector() |
ObjectInspector |
MetadataTypedColumnsetSerDe.getObjectInspector() |
ObjectInspector |
JsonSerDe.getObjectInspector()
Returns an object inspector for the specified schema that is capable of
reading in the object representation of the JSON string.
|
ObjectInspector |
RegexSerDe.getObjectInspector() |
ObjectInspector |
TypedSerDe.getObjectInspector() |
ObjectInspector |
NullStructSerDe.getObjectInspector() |
ObjectInspector |
MultiDelimitSerDe.getObjectInspector() |
ObjectInspector |
Deserializer.getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
| Modifier and Type | Method and Description |
|---|---|
T |
FetchFormatter.convert(Object row,
ObjectInspector rowOI) |
Object |
NoOpFetchFormatter.convert(Object row,
ObjectInspector rowOI) |
String |
DefaultFetchFormatter.convert(Object row,
ObjectInspector rowOI) |
protected BaseStructObjectInspector.MyField |
BaseStructObjectInspector.createField(int index,
String fieldName,
ObjectInspector fieldOI,
String comment) |
protected abstract org.apache.hadoop.io.Writable |
AbstractEncodingAwareSerDe.doSerialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
MultiDelimitSerDe.doSerialize(Object obj,
ObjectInspector objInspector) |
static String |
SerDeUtils.getJSONString(Object o,
ObjectInspector oi) |
static String |
SerDeUtils.getJSONString(Object o,
ObjectInspector oi,
String nullStr)
Use this if you need to have custom representation of top level null .
|
static boolean |
SerDeUtils.hasAnyNullObject(Object o,
ObjectInspector oi)
True if Object passed is representing null object.
|
org.apache.hadoop.io.Writable |
OpenCSVSerde.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
MetadataTypedColumnsetSerDe.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
JsonSerDe.serialize(Object obj,
ObjectInspector objInspector)
Given an object and object inspector pair, traverse the object
and generate a Text representation of the object.
|
org.apache.hadoop.io.Writable |
Serializer.serialize(Object obj,
ObjectInspector objInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
org.apache.hadoop.io.Writable |
AbstractSerDe.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
RegexSerDe.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
TypedSerDe.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
NullStructSerDe.serialize(Object obj,
ObjectInspector objInspector) |
org.apache.hadoop.io.Writable |
AbstractEncodingAwareSerDe.serialize(Object obj,
ObjectInspector objInspector) |
protected void |
DelimitedJSONSerDe.serializeField(ByteStream.Output out,
Object obj,
ObjectInspector objInspector,
LazySerDeParameters serdeParams) |
static Object |
SerDeUtils.toThriftPayload(Object val,
ObjectInspector valOI,
int version)
Convert a Object to a standard Java object in compliance with JDBC 3.0 (see JDBC 3.0
Specification, Table B-3: Mapping from JDBC Types to Java Object Types).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseStructObjectInspector.init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
| Constructor and Description |
|---|
MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment) |
| Constructor and Description |
|---|
BaseStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors)
Call ObjectInspectorFactory.getLazySimpleStructObjectInspector instead.
|
BaseStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
| Modifier and Type | Class and Description |
|---|---|
class |
AvroLazyObjectInspector
Lazy objectinspector for avro serialization
|
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
AvroObjectInspectorGenerator.getObjectInspector() |
ObjectInspector |
AvroSerDe.getObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Writable |
AvroSerDe.serialize(Object o,
ObjectInspector objectInspector) |
| Constructor and Description |
|---|
AvroLazyObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams) |
AvroLazyObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
BinarySortableSerDe.getObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Writable |
BinarySortableSerDe.serialize(Object obj,
ObjectInspector objInspector) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BinarySortableSerDeWithEndPrefix.serializeStruct(ByteStream.Output byteStream,
Object[] fieldData,
List<ObjectInspector> fieldOis,
boolean endPrefix) |
static void |
BinarySortableSerDe.serializeStruct(ByteStream.Output byteStream,
Object[] fieldData,
List<ObjectInspector> fieldOis,
boolean[] sortableSortOrders,
byte[] nullMarkers,
byte[] notNullMarkers) |
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInspector |
ColumnarSerDeBase.cachedObjectInspector |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
ColumnarSerDeBase.getObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
protected LazyObjectBase |
LazyBinaryColumnarStruct.createLazyObjectBase(ObjectInspector objectInspector) |
protected LazyObjectBase |
ColumnarStruct.createLazyObjectBase(ObjectInspector objectInspector) |
protected abstract LazyObjectBase |
ColumnarStructBase.createLazyObjectBase(ObjectInspector objectInspector)
create the lazy object for this field
|
protected int |
LazyBinaryColumnarStruct.getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int length) |
protected int |
ColumnarStruct.getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int fieldLen) |
protected abstract int |
ColumnarStructBase.getLength(ObjectInspector objectInspector,
ByteArrayRef cachedByteArrayRef,
int start,
int length)
Check if the object is null and return the length of the stream
|
org.apache.hadoop.io.Writable |
ColumnarSerDe.serialize(Object obj,
ObjectInspector objInspector)
Serialize a row of data.
|
org.apache.hadoop.io.Writable |
LazyBinaryColumnarSerDe.serialize(Object obj,
ObjectInspector objInspector) |
| Constructor and Description |
|---|
ColumnarStruct(ObjectInspector oi,
List<Integer> notSkippedColumnIDs,
org.apache.hadoop.io.Text nullSequence)
Construct a ColumnarStruct object with the TypeInfo.
|
ColumnarStructBase(ObjectInspector oi,
List<Integer> notSkippedColumnIDs) |
LazyBinaryColumnarStruct(ObjectInspector oi,
List<Integer> notSkippedColumnIDs) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
HiveJsonReader.getObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
String |
HiveJsonWriter.write(Object o,
ObjectInspector objInspector)
Given an Object and an ObjectInspector, convert the structure into a JSON
text string.
|
| Constructor and Description |
|---|
HiveJsonReader(ObjectInspector oi)
Constructor with default the Hive default timestamp parser.
|
HiveJsonReader(ObjectInspector oi,
TimestampParser tsParser)
Constructor with default the Hive default timestamp parser.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LazyNonPrimitive<OI extends ObjectInspector>
LazyPrimitive stores a primitive Object in a LazyObject.
|
class |
LazyObject<OI extends ObjectInspector>
LazyObject stores an object in a range of bytes in a byte[].
|
class |
LazyPrimitive<OI extends ObjectInspector,T extends org.apache.hadoop.io.Writable>
LazyPrimitive stores a primitive Object in a LazyObject.
|
| Modifier and Type | Field and Description |
|---|---|
protected OI |
LazyObject.oi |
| Modifier and Type | Method and Description |
|---|---|
static ObjectInspector |
LazyFactory.createColumnarStructInspector(List<String> columnNames,
List<TypeInfo> columnTypes,
byte[] separators,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Deprecated.
|
static ObjectInspector |
LazyFactory.createColumnarStructInspector(List<String> columnNames,
List<TypeInfo> columnTypes,
LazyObjectInspectorParameters lazyParams)
Create a hierarchical ObjectInspector for ColumnarStruct with the given
columnNames and columnTypeInfos.
|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
byte[] separators,
int separatorIndex,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
byte[] separators,
int separatorIndex,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar,
boolean extendedBooleanLiteral)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
byte[] separators,
int separatorIndex,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar,
boolean extendedBooleanLiteral,
ObjectInspectorFactory.ObjectInspectorOptions option)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
byte[] separators,
int separatorIndex,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar,
ObjectInspectorFactory.ObjectInspectorOptions option)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyObjectInspector(TypeInfo typeInfo,
int separatorIndex,
LazyObjectInspectorParameters lazyParams,
ObjectInspectorFactory.ObjectInspectorOptions option)
Create a hierarchical ObjectInspector for LazyObject with the given typeInfo.
|
static ObjectInspector |
LazyFactory.createLazyStructInspector(List<String> columnNames,
List<TypeInfo> typeInfos,
byte[] separators,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyStructInspector(List<String> columnNames,
List<TypeInfo> typeInfos,
byte[] separators,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar,
boolean extendedBooleanLiteral)
Deprecated.
|
static ObjectInspector |
LazyFactory.createLazyStructInspector(List<String> columnNames,
List<TypeInfo> typeInfos,
LazyObjectInspectorParameters lazyParams)
Create a hierarchical ObjectInspector for LazyStruct with the given
columnNames and columnTypeInfos.
|
ObjectInspector |
LazySimpleSerDe.getObjectInspector()
Returns the ObjectInspector for the row.
|
| Modifier and Type | Method and Description |
|---|---|
static LazyObject<? extends ObjectInspector> |
LazyFactory.createLazyObject(ObjectInspector oi)
Create a hierarchical LazyObject based on the given typeInfo.
|
static LazyObject<? extends ObjectInspector> |
LazyFactory.createLazyObject(ObjectInspector oi,
boolean typeBinary)
Creates a LazyObject based on the LazyObjectInspector.
|
static LazyPrimitive<? extends ObjectInspector,? extends org.apache.hadoop.io.Writable> |
LazyFactory.createLazyPrimitiveBinaryClass(PrimitiveObjectInspector poi) |
static LazyPrimitive<? extends ObjectInspector,? extends org.apache.hadoop.io.Writable> |
LazyFactory.createLazyPrimitiveClass(PrimitiveObjectInspector oi)
Create a lazy primitive class given the type name.
|
static LazyPrimitive<? extends ObjectInspector,? extends org.apache.hadoop.io.Writable> |
LazyFactory.createLazyPrimitiveClass(PrimitiveObjectInspector poi,
boolean typeBinary)
Create a lazy primitive object instance given a primitive object inspector based on it's
type.
|
| Modifier and Type | Method and Description |
|---|---|
static LazyObject<? extends ObjectInspector> |
LazyFactory.createLazyObject(ObjectInspector oi)
Create a hierarchical LazyObject based on the given typeInfo.
|
static LazyObject<? extends ObjectInspector> |
LazyFactory.createLazyObject(ObjectInspector oi,
boolean typeBinary)
Creates a LazyObject based on the LazyObjectInspector.
|
org.apache.hadoop.io.Writable |
LazySimpleSerDe.doSerialize(Object obj,
ObjectInspector objInspector)
Serialize a row of data.
|
static void |
LazySimpleSerDe.serialize(ByteStream.Output out,
Object obj,
ObjectInspector objInspector,
byte[] separators,
int level,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar,
boolean[] needsEscape)
Serialize the row into the StringBuilder.
|
protected void |
LazySimpleSerDe.serializeField(ByteStream.Output out,
Object obj,
ObjectInspector objInspector,
LazySerDeParameters serdeParams) |
| Modifier and Type | Class and Description |
|---|---|
class |
LazyListObjectInspector
LazyListObjectInspector works on array data that is stored in LazyArray.
|
class |
LazyMapObjectInspector
LazyMapObjectInspector works on struct data that is stored in LazyStruct.
|
class |
LazySimpleStructObjectInspector
LazySimpleStructObjectInspector works on struct data that is stored in
LazyStruct.
|
class |
LazyUnionObjectInspector
LazyUnionObjectInspector works on union data that is stored in LazyUnion.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
LazyListObjectInspector.getListElementObjectInspector() |
ObjectInspector |
LazyMapObjectInspector.getMapKeyObjectInspector() |
ObjectInspector |
LazyMapObjectInspector.getMapValueObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
List<ObjectInspector> |
LazyUnionObjectInspector.getObjectInspectors() |
| Modifier and Type | Method and Description |
|---|---|
static LazyListObjectInspector |
LazyObjectInspectorFactory.getLazySimpleListObjectInspector(ObjectInspector listElementObjectInspector,
byte separator,
LazyObjectInspectorParameters lazyParams) |
static LazyListObjectInspector |
LazyObjectInspectorFactory.getLazySimpleListObjectInspector(ObjectInspector listElementObjectInspector,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Deprecated.
|
static LazyMapObjectInspector |
LazyObjectInspectorFactory.getLazySimpleMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
byte itemSeparator,
byte keyValueSeparator,
LazyObjectInspectorParameters lazyParams) |
static LazyMapObjectInspector |
LazyObjectInspectorFactory.getLazySimpleMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
byte itemSeparator,
byte keyValueSeparator,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static LazySimpleStructObjectInspector |
LazyObjectInspectorFactory.getLazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
static LazySimpleStructObjectInspector |
LazyObjectInspectorFactory.getLazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar,
ObjectInspectorFactory.ObjectInspectorOptions option)
Deprecated.
|
static LazySimpleStructObjectInspector |
LazyObjectInspectorFactory.getLazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams,
ObjectInspectorFactory.ObjectInspectorOptions option) |
static LazySimpleStructObjectInspector |
LazyObjectInspectorFactory.getLazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
static LazySimpleStructObjectInspector |
LazyObjectInspectorFactory.getLazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar,
ObjectInspectorFactory.ObjectInspectorOptions option)
Deprecated.
|
static LazyUnionObjectInspector |
LazyObjectInspectorFactory.getLazyUnionObjectInspector(List<ObjectInspector> ois,
byte separator,
LazyObjectInspectorParameters lazyParams) |
static LazyUnionObjectInspector |
LazyObjectInspectorFactory.getLazyUnionObjectInspector(List<ObjectInspector> ois,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Deprecated.
|
protected void |
LazyUnionObjectInspector.init(List<ObjectInspector> ois,
byte separator,
LazyObjectInspectorParameters lazyParams) |
protected void |
LazySimpleStructObjectInspector.init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams) |
protected void |
LazySimpleStructObjectInspector.init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar) |
| Constructor and Description |
|---|
LazyListObjectInspector(ObjectInspector listElementObjectInspector,
byte separator,
LazyObjectInspectorParameters lazyParams)
Call ObjectInspectorFactory.getLazySimpleListObjectInspector instead.
|
LazyMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
byte itemSeparator,
byte keyValueSeparator,
LazyObjectInspectorParameters lazyParams) |
LazyMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
byte itemSeparator,
byte keyValueSeparator,
org.apache.hadoop.io.Text nullSequence,
boolean escaped,
byte escapeChar)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
| Constructor and Description |
|---|
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
LazyObjectInspectorParameters lazyParams) |
LazySimpleStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments,
byte separator,
org.apache.hadoop.io.Text nullSequence,
boolean lastColumnTakesRest,
boolean escaped,
byte escapeChar)
Deprecated.
|
LazyUnionObjectInspector(List<ObjectInspector> ois,
byte separator,
LazyObjectInspectorParameters lazyParams) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPrimitiveLazyObjectInspector<T extends org.apache.hadoop.io.Writable>
An AbstractPrimitiveLazyObjectInspector for a LazyPrimitive object.
|
class |
LazyBinaryObjectInspector |
class |
LazyBooleanObjectInspector
A WritableBooleanObjectInspector inspects a BooleanWritable Object.
|
class |
LazyByteObjectInspector
A WritableByteObjectInspector inspects a ByteWritable Object.
|
class |
LazyDateObjectInspector
A WritableDateObjectInspector inspects a DateWritableV2 Object.
|
class |
LazyDoubleObjectInspector
A WritableDoubleObjectInspector inspects a DoubleWritable Object.
|
class |
LazyFloatObjectInspector
A FloatObjectInspector inspects a FloatWritable Object.
|
class |
LazyHiveCharObjectInspector |
class |
LazyHiveDecimalObjectInspector |
class |
LazyHiveIntervalDayTimeObjectInspector |
class |
LazyHiveIntervalYearMonthObjectInspector |
class |
LazyHiveVarcharObjectInspector |
class |
LazyIntObjectInspector
A WritableIntObjectInspector inspects a IntWritable Object.
|
class |
LazyLongObjectInspector
A WritableLongObjectInspector inspects a LongWritable Object.
|
class |
LazyShortObjectInspector
A WritableShortObjectInspector inspects a ShortWritable Object.
|
class |
LazyStringObjectInspector
A WritableStringObjectInspector inspects a Text Object.
|
class |
LazyTimestampLocalTZObjectInspector |
class |
LazyTimestampObjectInspector |
class |
LazyVoidObjectInspector
A WritableVoidObjectInspector inspects a NullWritable Object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LazyBinaryNonPrimitive<OI extends ObjectInspector>
LazyBinaryNonPrimitive.
|
class |
LazyBinaryObject<OI extends ObjectInspector>
LazyBinaryObject stores an object in a binary format in a byte[].
|
class |
LazyBinaryPrimitive<OI extends ObjectInspector,T extends org.apache.hadoop.io.Writable>
Defines a LazyBinaryPrimitive.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectInspector |
LazyBinaryFactory.createColumnarStructInspector(List<String> columnNames,
List<TypeInfo> columnTypes) |
static ObjectInspector |
LazyBinaryUtils.getLazyBinaryObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the lazy binary object inspector that can be used to inspect an
lazy binary object of that typeInfo
For primitive types, we use the standard writable object inspector.
|
ObjectInspector |
LazyBinarySerDe.getObjectInspector()
Returns the ObjectInspector for the row.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
LazyBinaryUtils.checkObjectByteInfo(ObjectInspector objectInspector,
byte[] bytes,
int offset,
LazyBinaryUtils.RecordInfo recordInfo,
LazyBinaryUtils.VInt vInt)
Check a particular field and set its size and offset in bytes based on the
field type and the bytes arrays.
|
static LazyBinaryObject |
LazyBinaryFactory.createLazyBinaryObject(ObjectInspector oi)
Create a hierarchical LazyBinaryObject based on the given typeInfo.
|
static void |
LazyBinarySerDe.serialize(ByteStream.RandomAccessOutput byteStream,
Object obj,
ObjectInspector objInspector,
boolean skipLengthPrefix,
LazyBinarySerDe.BooleanRef warnedOnceNullMapKey)
A recursive function that serialize an object to a byte buffer based on its
object inspector.
|
org.apache.hadoop.io.Writable |
LazyBinarySerDe.serialize(Object obj,
ObjectInspector objInspector)
Serialize an object to a byte buffer in a binary compact way.
|
org.apache.hadoop.io.Writable |
LazyBinarySerDe2.serialize(Object obj,
ObjectInspector objInspector) |
| Modifier and Type | Method and Description |
|---|---|
static void |
LazyBinarySerDe.serializeStruct(ByteStream.RandomAccessOutput byteStream,
Object[] fieldData,
List<ObjectInspector> fieldOis) |
| Modifier and Type | Class and Description |
|---|---|
class |
LazyBinaryListObjectInspector
ObjectInspector for LazyBinaryList.
|
class |
LazyBinaryMapObjectInspector
ObjectInspector for LazyBinaryMap.
|
class |
LazyBinaryStructObjectInspector
ObjectInspector for LazyBinaryStruct.
|
class |
LazyBinaryUnionObjectInspector
ObjectInspector for LazyBinaryUnion.
|
| Modifier and Type | Method and Description |
|---|---|
static LazyBinaryListObjectInspector |
LazyBinaryObjectInspectorFactory.getLazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector) |
static LazyBinaryMapObjectInspector |
LazyBinaryObjectInspectorFactory.getLazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector) |
| Modifier and Type | Method and Description |
|---|---|
static LazyBinaryStructObjectInspector |
LazyBinaryObjectInspectorFactory.getLazyBinaryStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors) |
static LazyBinaryStructObjectInspector |
LazyBinaryObjectInspectorFactory.getLazyBinaryStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
static LazyBinaryUnionObjectInspector |
LazyBinaryObjectInspectorFactory.getLazyBinaryUnionObjectInspector(List<ObjectInspector> unionFieldObjectInspectors) |
| Constructor and Description |
|---|
LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector) |
LazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector) |
| Constructor and Description |
|---|
LazyBinaryStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors) |
LazyBinaryStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
LazyBinaryUnionObjectInspector(List<ObjectInspector> unionFieldObjectInspectors) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConstantObjectInspector
ConstantObjectInspector.
|
interface |
ListObjectInspector
ListObjectInspector.
|
interface |
MapObjectInspector
MapObjectInspector.
|
interface |
PrimitiveObjectInspector
PrimitiveObjectInspector.
|
interface |
SettableListObjectInspector
SettableListObjectInspector.
|
interface |
SettableMapObjectInspector
SettableMapObjectInspector.
|
interface |
UnionObjectInspector
UnionObjectInspector works on union data that is stored as UnionObject.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetadataListStructObjectInspector
StructObjectInspector works on struct data that is stored as a Java List or
Java Array object.
|
class |
ReflectionStructObjectInspector
ReflectionStructObjectInspector works on struct data that is stored as a
native Java object.
|
class |
SettableStructObjectInspector
SettableStructObjectInspector.
|
class |
SettableUnionObjectInspector
SettableUnionObjectInspector.
|
class |
StandardConstantListObjectInspector
A StandardListObjectInspector which also implements the
ConstantObjectInspector interface.
|
class |
StandardConstantMapObjectInspector
A StandardMapObjectInspector which also implements the
ConstantObjectInspector interface.
|
class |
StandardConstantStructObjectInspector
A StandardStructObjectInspector which also implements the
ConstantObjectInspector interface.
|
class |
StandardListObjectInspector
DefaultListObjectInspector works on list data that is stored as a Java List
or Java Array object.
|
class |
StandardMapObjectInspector
StandardMapObjectInspector works on map data that is stored as a Java Map
object.
|
class |
StandardStructObjectInspector
ListStructObjectInspector works on struct data that is stored as a Java List
or Java Array object.
|
class |
StandardUnionObjectInspector
StandardUnionObjectInspector works on union data that is stored as
UnionObject.
|
class |
StructObjectInspector
StructObjectInspector.
|
class |
SubStructObjectInspector
SubsetStructObjectInspector implement a wrapper around a base object inspector (baseOI)
such that when the row corresponding to the baseOI is given together with this object
inspector, it will mask out some fields in the row as if they are not there.
|
class |
ThriftUnionObjectInspector
Always use the ObjectInspectorFactory to create new ObjectInspector objects,
instead of directly creating an instance of this class.
|
class |
UnionStructObjectInspector
UnionStructObjectInspector unions several struct data into a single struct.
|
| Modifier and Type | Field and Description |
|---|---|
protected ObjectInspector |
StandardStructObjectInspector.MyField.fieldObjectInspector |
protected ObjectInspector |
ReflectionStructObjectInspector.MyField.fieldObjectInspector |
ObjectInspector |
InspectableObject.oi |
| Modifier and Type | Method and Description |
|---|---|
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties,
boolean equalsCheck)
Utility function to convert from one object inspector type to another.
|
ObjectInspector |
StructField.getFieldObjectInspector()
Get the ObjectInspector for the field.
|
ObjectInspector |
UnionStructObjectInspector.MyField.getFieldObjectInspector() |
ObjectInspector |
StandardStructObjectInspector.MyField.getFieldObjectInspector() |
ObjectInspector |
ReflectionStructObjectInspector.MyField.getFieldObjectInspector() |
ObjectInspector |
StandardListObjectInspector.getListElementObjectInspector() |
ObjectInspector |
ListObjectInspector.getListElementObjectInspector() |
ObjectInspector |
StandardMapObjectInspector.getMapKeyObjectInspector() |
ObjectInspector |
MapObjectInspector.getMapKeyObjectInspector() |
ObjectInspector |
StandardMapObjectInspector.getMapValueObjectInspector() |
ObjectInspector |
MapObjectInspector.getMapValueObjectInspector() |
static ObjectInspector |
ObjectInspectorFactory.getReflectionObjectInspector(Type t,
ObjectInspectorFactory.ObjectInspectorOptions options) |
static ObjectInspector |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector oi)
Get the corresponding standard ObjectInspector for an ObjectInspector.
|
static ObjectInspector[] |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector[] ois,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Get the corresponding standard ObjectInspector array for an array of ObjectInspector.
|
static ObjectInspector |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
static ObjectInspector |
ObjectInspectorUtils.getWritableObjectInspector(ObjectInspector oi)
Ensures that an ObjectInspector is Writable.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends ObjectInspector> |
ReflectionStructObjectInspector.extractFieldObjectInspectors(Class<?> clazz,
ObjectInspectorFactory.ObjectInspectorOptions options) |
List<ObjectInspector> |
StandardUnionObjectInspector.getObjectInspectors() |
List<ObjectInspector> |
ThriftUnionObjectInspector.getObjectInspectors() |
List<ObjectInspector> |
UnionObjectInspector.getObjectInspectors()
Returns the array of ObjectInspectors that are for each of the tags.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
ObjectInspectorUtils.compare(Object[] o1,
ObjectInspector[] oi1,
Object[] o2,
ObjectInspector[] oi2)
Compare two arrays of objects with their respective arrays of
ObjectInspectors.
|
static int |
ObjectInspectorUtils.compare(Object[] o1,
ObjectInspector[] oi1,
Object[] o2,
ObjectInspector[] oi2)
Compare two arrays of objects with their respective arrays of
ObjectInspectors.
|
static int |
ObjectInspectorUtils.compare(Object[] o1,
ObjectInspector[] oi1,
Object[] o2,
ObjectInspector[] oi2,
boolean[] columnSortOrderIsDesc,
ObjectInspectorUtils.NullValueOption[] nullSortOrder) |
static int |
ObjectInspectorUtils.compare(Object[] o1,
ObjectInspector[] oi1,
Object[] o2,
ObjectInspector[] oi2,
boolean[] columnSortOrderIsDesc,
ObjectInspectorUtils.NullValueOption[] nullSortOrder) |
static int |
ObjectInspectorUtils.compare(Object o1,
ObjectInspector oi1,
Object o2,
ObjectInspector oi2)
Compare two objects with their respective ObjectInspectors.
|
static int |
ObjectInspectorUtils.compare(Object o1,
ObjectInspector oi1,
Object o2,
ObjectInspector oi2,
MapEqualComparer mapEqualComparer)
Compare two objects with their respective ObjectInspectors.
|
static int |
ObjectInspectorUtils.compare(Object o1,
ObjectInspector oi1,
Object o2,
ObjectInspector oi2,
MapEqualComparer mapEqualComparer,
ObjectInspectorUtils.NullValueOption nullValueOpt)
Compare two objects with their respective ObjectInspectors.
|
static boolean |
ObjectInspectorUtils.compareSupported(ObjectInspector oi)
Whether comparison is supported for this type.
|
static boolean |
ObjectInspectorUtils.compareTypes(ObjectInspector o1,
ObjectInspector o2)
Compares two types identified by the given object inspectors.
|
static void |
ObjectInspectorUtils.copyStructToArray(Object o,
ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption,
Object[] dest,
int offset) |
static Object |
ObjectInspectorUtils.copyToStandardJavaObject(Object o,
ObjectInspector oi) |
static Object[] |
ObjectInspectorUtils.copyToStandardObject(Object[] o,
ObjectInspector[] oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Returns a deep copy of an array of objects
|
static Object |
ObjectInspectorUtils.copyToStandardObject(Object o,
ObjectInspector oi)
Returns a deep copy of the Object o that can be scanned by a
StandardObjectInspector returned by getStandardObjectInspector(oi).
|
static Object |
ObjectInspectorUtils.copyToStandardObject(Object o,
ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
static int |
ObjectInspectorUtils.getBucketHashCode(Object[] bucketFields,
ObjectInspector[] bucketFieldInspectors) |
static int |
ObjectInspectorUtils.getBucketHashCodeOld(Object[] bucketFields,
ObjectInspector[] bucketFieldInspectors)
Deprecated.
|
static int |
ObjectInspectorUtils.getBucketNumber(Object[] bucketFields,
ObjectInspector[] bucketFieldInspectors,
int totalBuckets)
Computes the bucket number to which the bucketFields belong to
|
static int |
ObjectInspectorUtils.getBucketNumberOld(Object[] bucketFields,
ObjectInspector[] bucketFieldInspectors,
int totalBuckets)
Deprecated.
|
static ConstantObjectInspector |
ObjectInspectorUtils.getConstantObjectInspector(ObjectInspector oi,
Object value) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties,
boolean equalsCheck)
Utility function to convert from one object inspector type to another.
|
static ObjectInspectorConverters.Converter |
ObjectInspectorConverters.getConverter(ObjectInspector inputOI,
ObjectInspector outputOI)
Returns a converter that converts objects from one OI to another OI.
|
static String |
ObjectInspectorUtils.getObjectInspectorName(ObjectInspector oi)
Get the class names of the ObjectInspector hierarchy.
|
static StandardConstantListObjectInspector |
ObjectInspectorFactory.getStandardConstantListObjectInspector(ObjectInspector listElementObjectInspector,
List<?> constantValue) |
static StandardConstantMapObjectInspector |
ObjectInspectorFactory.getStandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
Map<?,?> constantValue) |
static StandardListObjectInspector |
ObjectInspectorFactory.getStandardListObjectInspector(ObjectInspector listElementObjectInspector) |
static StandardMapObjectInspector |
ObjectInspectorFactory.getStandardMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector) |
static ObjectInspector |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector oi)
Get the corresponding standard ObjectInspector for an ObjectInspector.
|
static ObjectInspector[] |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector[] ois,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption)
Get the corresponding standard ObjectInspector array for an array of ObjectInspector.
|
static ObjectInspector |
ObjectInspectorUtils.getStandardObjectInspector(ObjectInspector oi,
ObjectInspectorUtils.ObjectInspectorCopyOption objectInspectorOption) |
static int |
ObjectInspectorUtils.getStructSize(ObjectInspector oi) |
static Object |
ObjectInspectorUtils.getWritableConstantValue(ObjectInspector oi) |
static ObjectInspector |
ObjectInspectorUtils.getWritableObjectInspector(ObjectInspector oi)
Ensures that an ObjectInspector is Writable.
|
static Boolean |
ObjectInspectorUtils.hasAllFieldsSettable(ObjectInspector oi) |
static boolean |
ObjectInspectorUtils.hasAllFieldsSettable(ObjectInspector oi,
Map<ObjectInspector,Boolean> oiSettableProperties) |
static int |
ObjectInspectorUtils.hashCode(Object o,
ObjectInspector objIns) |
static int |
ObjectInspectorUtils.hashCodeMurmur(Object o,
ObjectInspector objIns,
ByteBuffer byteBuffer) |
static boolean |
ObjectInspectorUtils.isConstantObjectInspector(ObjectInspector oi) |
static boolean |
ObjectInspectorUtils.supportsConstantObjectInspector(ObjectInspector oi) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hive.serde2.objectinspector.ColumnarStructObjectInspector |
ObjectInspectorFactory.getColumnarStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors) |
static org.apache.hadoop.hive.serde2.objectinspector.ColumnarStructObjectInspector |
ObjectInspectorFactory.getColumnarStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties) |
static ObjectInspector |
ObjectInspectorConverters.getConvertedOI(ObjectInspector inputOI,
ObjectInspector outputOI,
Map<ObjectInspector,Boolean> oiSettableProperties,
boolean equalsCheck)
Utility function to convert from one object inspector type to another.
|
static StandardConstantStructObjectInspector |
ObjectInspectorFactory.getStandardConstantStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<?> value) |
static StandardStructObjectInspector |
ObjectInspectorFactory.getStandardStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors) |
static StandardStructObjectInspector |
ObjectInspectorFactory.getStandardStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structComments) |
static StandardUnionObjectInspector |
ObjectInspectorFactory.getStandardUnionObjectInspector(List<ObjectInspector> unionObjectInspectors) |
static boolean |
ObjectInspectorUtils.hasAllFieldsSettable(ObjectInspector oi,
Map<ObjectInspector,Boolean> oiSettableProperties) |
protected void |
StandardStructObjectInspector.init(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments) |
| Constructor and Description |
|---|
InspectableObject(Object o,
ObjectInspector oi) |
ListConverter(ObjectInspector inputOI,
SettableListObjectInspector outputOI) |
ListObjectsEqualComparer(ObjectInspector[] oi0,
ObjectInspector[] oi1) |
ListObjectsEqualComparer(ObjectInspector[] oi0,
ObjectInspector[] oi1) |
MapConverter(ObjectInspector inputOI,
SettableMapObjectInspector outputOI) |
MyField(int fieldID,
Field field,
ObjectInspector fieldObjectInspector) |
MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector) |
MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment) |
ObjectComparator(ObjectInspector objectInspector1,
ObjectInspector objectInspector2,
ObjectInspectorUtils.NullValueOption nullSortOrder) |
ObjectInspectorObject(Object[] objects,
ObjectInspector[] oi) |
ObjectInspectorObject(Object object,
ObjectInspector oi) |
StandardConstantListObjectInspector(ObjectInspector listElementObjectInspector,
List<?> value)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
StandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
Map<?,?> value)
Call ObjectInspectorFactory.getStandardMapObjectInspector instead.
|
StandardListObjectInspector(ObjectInspector listElementObjectInspector)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
StandardMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector)
Call ObjectInspectorFactory.getStandardMapObjectInspector instead.
|
StructConverter(ObjectInspector inputOI,
SettableStructObjectInspector outputOI) |
UnionConverter(ObjectInspector inputOI,
SettableUnionObjectInspector outputOI) |
| Constructor and Description |
|---|
StandardConstantStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<?> value)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
StandardStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
StandardStructObjectInspector(List<String> structFieldNames,
List<ObjectInspector> structFieldObjectInspectors,
List<String> structFieldComments)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.
|
StandardUnionObjectInspector(List<ObjectInspector> ois) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BinaryObjectInspector |
interface |
BooleanObjectInspector
A BooleanObjectInspector inspects an Object representing a Boolean.
|
interface |
ByteObjectInspector
A ByteObjectInspector inspects an Object representing a Byte object.
|
interface |
DateObjectInspector
A DateObjectInspector inspects an Object representing a Date.
|
interface |
DoubleObjectInspector
A DoubleObjectInspector inspects an Object representing a Double.
|
interface |
FloatObjectInspector
A FloatObjectInspector inspects an Object representing a Float.
|
interface |
HiveCharObjectInspector |
interface |
HiveDecimalObjectInspector
A DecimalObjectInspector inspects an Object representing a HiveDecimal.
|
interface |
HiveIntervalDayTimeObjectInspector
A HiveIntervalObjectInspector inspects an Object representing an Interval.
|
interface |
HiveIntervalYearMonthObjectInspector
A HiveIntervalObjectInspector inspects an Object representing a year-month Interval.
|
interface |
HiveVarcharObjectInspector |
interface |
IntObjectInspector
A IntObjectInspector inspects an Object representing an Integer.
|
interface |
LongObjectInspector
A LongObjectInspector inspects an Object representing a Long.
|
interface |
SettableBinaryObjectInspector |
interface |
SettableBooleanObjectInspector
A SettableBooleanObjectInspector can set a boolean value to an object.
|
interface |
SettableByteObjectInspector
A SettableByteObjectInspector can set a byte value to an object.
|
interface |
SettableDateObjectInspector
A SettableDecimalObjectInspector can set a Date value to an object.
|
interface |
SettableDoubleObjectInspector
A SettableDoubleObjectInspector can set a double value to an object.
|
interface |
SettableFloatObjectInspector
A SettableFloatObjectInspector can set a float value to an object.
|
interface |
SettableHiveCharObjectInspector |
interface |
SettableHiveDecimalObjectInspector
A SettableDecimalObjectInspector can set a HiveDecimal value to an object.
|
interface |
SettableHiveIntervalDayTimeObjectInspector
A SettableHiveIntervalDayTimeObjectInspector can set a IntervalDayTime value to an object.
|
interface |
SettableHiveIntervalYearMonthObjectInspector
A SettableHiveIntervalYearMonthObjectInspector can set a IntervalYearMonth value to an object.
|
interface |
SettableHiveVarcharObjectInspector |
interface |
SettableIntObjectInspector
A SettableIntObjectInspector can set an int value to an object.
|
interface |
SettableLongObjectInspector
A SettableLongObjectInspector can set a long value to an object.
|
interface |
SettableShortObjectInspector
A SettableShortObjectInspector can set a short value to an object.
|
interface |
SettableStringObjectInspector
A SettableStringObjectInspector can set a string value to an object.
|
interface |
SettableTimestampLocalTZObjectInspector |
interface |
SettableTimestampObjectInspector |
interface |
ShortObjectInspector
A ShortObjectInspector inspects an Object representing a Short.
|
interface |
StringObjectInspector
A StringObjectInspector inspects an Object representing a String.
|
interface |
TimestampLocalTZObjectInspector |
interface |
TimestampObjectInspector |
interface |
VoidObjectInspector
A VoidObjectInspector can inspect a void object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPrimitiveJavaObjectInspector
An AbstractJavaPrimitiveObjectInspector for a Java object.
|
class |
AbstractPrimitiveObjectInspector
An AbstractPrimitiveObjectInspector is based on
ObjectInspectorUtils.PrimitiveTypeEntry.
|
class |
AbstractPrimitiveWritableObjectInspector
An AbstractWritablePrimitiveObjectInspector for a Writable object.
|
class |
JavaBinaryObjectInspector |
class |
JavaBooleanObjectInspector
A JavaBooleanObjectInspector inspects a Java Boolean Object.
|
class |
JavaByteObjectInspector
A JavaByteObjectInspector inspects a Java Byte Object.
|
class |
JavaConstantBinaryObjectInspector |
class |
JavaConstantBooleanObjectInspector |
class |
JavaConstantByteObjectInspector |
class |
JavaConstantDateObjectInspector |
class |
JavaConstantDoubleObjectInspector |
class |
JavaConstantFloatObjectInspector |
class |
JavaConstantHiveCharObjectInspector |
class |
JavaConstantHiveDecimalObjectInspector |
class |
JavaConstantHiveVarcharObjectInspector |
class |
JavaConstantIntObjectInspector |
class |
JavaConstantLongObjectInspector |
class |
JavaConstantShortObjectInspector |
class |
JavaConstantStringObjectInspector |
class |
JavaConstantTimestampObjectInspector |
class |
JavaDateObjectInspector
A JavaDateObjectInspector inspects a Java Date Object.
|
class |
JavaDoubleObjectInspector
A JavaDoubleObjectInspector inspects a Java Double Object.
|
class |
JavaFloatObjectInspector
A JavaFloatObjectInspector inspects a Java Float Object.
|
class |
JavaHiveCharObjectInspector |
class |
JavaHiveDecimalObjectInspector |
class |
JavaHiveIntervalDayTimeObjectInspector |
class |
JavaHiveIntervalYearMonthObjectInspector |
class |
JavaHiveVarcharObjectInspector |
class |
JavaIntObjectInspector
A JavaIntObjectInspector inspects a Java Integer Object.
|
class |
JavaLongObjectInspector
A JavaLongObjectInspector inspects a Java Long Object.
|
class |
JavaShortObjectInspector
A JavaShortObjectInspector inspects a Java Short Object.
|
class |
JavaStringObjectInspector
A JavaStringObjectInspector inspects a Java String Object.
|
class |
JavaTimestampLocalTZObjectInspector |
class |
JavaTimestampObjectInspector |
class |
JavaVoidObjectInspector
A JavaVoidObjectInspector inspects a Java Void Object.
|
class |
WritableBinaryObjectInspector
A WritableBinaryObjectInspector inspects a BytesWritable Object.
|
class |
WritableBooleanObjectInspector
A WritableBooleanObjectInspector inspects a BooleanWritable Object.
|
class |
WritableByteObjectInspector
A WritableByteObjectInspector inspects a ByteWritable Object.
|
class |
WritableConstantBinaryObjectInspector
A WritableConstantBinaryObjectInspector is a WritableBinaryObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantBooleanObjectInspector
A WritableConstantBooleanObjectInspector is a WritableBooleanObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantByteObjectInspector
A WritableConstantByteObjectInspector is a WritableByteObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantDateObjectInspector
A WritableConstantDateObjectInspector is a WritableDateObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantDoubleObjectInspector
A WritableConstantDoubleObjectInspector is a WritableDoubleObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantFloatObjectInspector
A WritableConstantFloatObjectInspector is a WritableFloatObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantHiveCharObjectInspector
A WritableConstantHiveCharObjectInspector is a WritableHiveCharObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantHiveDecimalObjectInspector
A WritableConstantHiveDecimalObjectInspector is a WritableHiveDecimalObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantHiveIntervalDayTimeObjectInspector |
class |
WritableConstantHiveIntervalYearMonthObjectInspector |
class |
WritableConstantHiveVarcharObjectInspector
A WritableConstantHiveVarcharObjectInspector is a WritableHiveVarcharObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantIntObjectInspector
A WritableConstantIntObjectInspector is a WritableIntObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantLongObjectInspector
A WritableConstantLongObjectInspector is a WritableLongObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantShortObjectInspector
A WritableConstantShortObjectInspector is a WritableShortObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantStringObjectInspector
A WritableConstantStringObjectInspector is a WritableStringObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableConstantTimestampLocalTZObjectInspector |
class |
WritableConstantTimestampObjectInspector
A WritableConstantTimestampObjectInspector is a WritableTimestampObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableDateObjectInspector
A WritableDateObjectInspector inspects a DateWritableV2 Object.
|
class |
WritableDoubleObjectInspector
A WritableDoubleObjectInspector inspects a DoubleWritable Object.
|
class |
WritableFloatObjectInspector
A FloatObjectInspector inspects a FloatWritable Object.
|
class |
WritableHiveCharObjectInspector |
class |
WritableHiveDecimalObjectInspector |
class |
WritableHiveIntervalDayTimeObjectInspector |
class |
WritableHiveIntervalYearMonthObjectInspector |
class |
WritableHiveVarcharObjectInspector |
class |
WritableIntObjectInspector
A WritableIntObjectInspector inspects a IntWritable Object.
|
class |
WritableLongObjectInspector
A WritableLongObjectInspector inspects a LongWritable Object.
|
class |
WritableShortObjectInspector
A WritableShortObjectInspector inspects a ShortWritable Object.
|
class |
WritableStringObjectInspector
A WritableStringObjectInspector inspects a Text Object.
|
class |
WritableTimestampLocalTZObjectInspector |
class |
WritableTimestampObjectInspector |
class |
WritableVoidObjectInspector
A WritableVoidObjectInspector inspects a NullWritable Object.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
PrimitiveObjectInspectorUtils.getJavaPrimitiveClassFromObjectInspector(ObjectInspector oi) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
TeradataBinarySerde.getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Writable |
TeradataBinarySerde.serialize(Object obj,
ObjectInspector objInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
ThriftJDBCBinarySerDe.getObjectInspector() |
ObjectInspector |
ThriftDeserializer.getObjectInspector() |
| Modifier and Type | Method and Description |
|---|---|
Object |
ThriftFormatter.convert(Object row,
ObjectInspector rowOI) |
org.apache.hadoop.io.Writable |
ThriftJDBCBinarySerDe.serialize(Object obj,
ObjectInspector objInspector)
Write TColumn objects to the underlying stream of TProtocol
|
org.apache.hadoop.io.Writable |
ThriftDeserializer.serialize(Object obj,
ObjectInspector objInspector) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectInspector |
TypeInfoUtils.getStandardJavaObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the standard object inspector that can be used to translate an
object of that typeInfo to a standard object type.
|
static ObjectInspector |
TypeInfoUtils.getStandardWritableObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the standard object inspector that can be used to translate an
object of that typeInfo to a standard object type.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeInfo |
TypeInfoUtils.getTypeInfoFromObjectInspector(ObjectInspector oi)
Get the TypeInfo object from the ObjectInspector object by recursively
going into the ObjectInspector structure.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.