Package | Description |
---|---|
org.apache.hadoop.hive.accumulo.serde | |
org.apache.hadoop.hive.ql.io.parquet.serde.primitive | |
org.apache.hadoop.hive.ql.optimizer.ppr | |
org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
org.apache.hadoop.hive.serde2.lazy | |
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive | |
org.apache.hadoop.hive.serde2.lazybinary | |
org.apache.hadoop.hive.serde2.objectinspector.primitive |
Modifier and Type | Method and Description |
---|---|
protected void |
AccumuloRowSerializer.writeBinary(ByteStream.Output output,
Object value,
PrimitiveObjectInspector inspector) |
protected void |
AccumuloRowSerializer.writeSerializedPrimitive(PrimitiveObjectInspector objectInspector,
ByteStream.Output output,
Object value,
ColumnEncoding encoding)
Serialize the given primitive to the given output buffer, using the provided encoding
mechanism.
|
protected void |
AccumuloRowSerializer.writeString(ByteStream.Output output,
Object value,
PrimitiveObjectInspector inspector) |
Modifier and Type | Class and Description |
---|---|
class |
ParquetByteInspector
The ParquetByteInspector can inspect both ByteWritables and IntWritables into bytes.
|
class |
ParquetShortInspector
The ParquetShortInspector can inspect both ShortWritables and IntWritables into shorts.
|
class |
ParquetStringInspector
The ParquetStringInspector inspects a BinaryWritable to give a Text or String.
|
Modifier and Type | Method and Description |
---|---|
static ObjectPair<PrimitiveObjectInspector,ExprNodeEvaluator> |
PartExprEvalUtils.prepareExpr(ExprNodeGenericFuncDesc expr,
List<String> partNames,
List<PrimitiveTypeInfo> partColumnTypeInfos) |
Modifier and Type | Method and Description |
---|---|
static Object |
PartExprEvalUtils.evaluateExprOnPart(ObjectPair<PrimitiveObjectInspector,ExprNodeEvaluator> pair,
Object partColValues) |
Modifier and Type | Field and Description |
---|---|
protected PrimitiveObjectInspector |
GenericUDAFSum.GenericUDAFSumEvaluator.inputOI |
protected PrimitiveObjectInspector |
GenericUDAFPercentileApprox.GenericUDAFPercentileApproxEvaluator.inputOI |
protected PrimitiveObjectInspector |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.inputOI |
protected PrimitiveObjectInspector |
GenericUDAFAverage.AbstractGenericUDAFAverageEvaluator.inputOI |
protected PrimitiveObjectInspector[] |
GenericUDFBaseDTI.inputOIs |
protected PrimitiveObjectInspector |
GenericUDFBaseNumeric.leftOI |
protected PrimitiveObjectInspector |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.numVectorsOI |
protected PrimitiveObjectInspector |
GenericUDFPower.resultOI |
protected PrimitiveObjectInspector |
GenericUDFBaseUnary.resultOI |
protected PrimitiveObjectInspector |
GenericUDFBaseNumeric.resultOI |
protected PrimitiveObjectInspector |
GenericUDFBaseNumeric.rightOI |
Modifier and Type | Method and Description |
---|---|
protected void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDouble.doIterate(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<Double> aggregation,
PrimitiveObjectInspector oi,
Object parameter) |
protected void |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.doIterate(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<HiveDecimal> aggregation,
PrimitiveObjectInspector oi,
Object parameter) |
protected abstract void |
GenericUDAFAverage.AbstractGenericUDAFAverageEvaluator.doIterate(org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage.AverageAggregationBuffer<TYPE> aggregation,
PrimitiveObjectInspector inputOI,
Object parameter) |
static int |
GenericUDFUtils.StringHelper.getFixedStringSizeForType(PrimitiveObjectInspector poi)
Helper function to help GenericUDFs determine the return type
character length for char/varchar.
|
protected abstract void |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg.update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.LongStatsAgg.update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
GenericUDAFComputeStats.GenericUDAFDoubleStatsEvaluator.DoubleStatsAgg.update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg.update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
GenericUDAFComputeStats.GenericUDAFDateStatsEvaluator.DateStatsAgg.update(Object p,
PrimitiveObjectInspector inputOI) |
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
LazyUtils.writePrimitive(OutputStream out,
Object o,
PrimitiveObjectInspector oi)
Write out a binary representation of a PrimitiveObject to a byte stream.
|
static void |
LazyUtils.writePrimitiveUTF8(OutputStream out,
Object o,
PrimitiveObjectInspector oi,
boolean escaped,
byte escapeChar,
boolean[] needsEscape)
Write out the text representation of a Primitive Object to a UTF8 byte
stream.
|
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 DateWritable 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 |
LazyTimestampObjectInspector |
class |
LazyVoidObjectInspector
A WritableVoidObjectInspector inspects a NullWritable Object.
|
Modifier and Type | Method and Description |
---|---|
static LazyBinaryPrimitive<?,?> |
LazyBinaryFactory.createLazyBinaryPrimitiveClass(PrimitiveObjectInspector oi)
Create a lazy binary primitive class given the type name.
|
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 |
SettableTimestampObjectInspector |
interface |
ShortObjectInspector
A ShortObjectInspector inspects an Object representing a Short.
|
interface |
StringObjectInspector
A StringObjectInspector inspects an Object representing a String.
|
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
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
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 |
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 |
WritableConstantTimestampObjectInspector
A WritableConstantTimestampObjectInspector is a WritableTimestampObjectInspector
that implements ConstantObjectInspector.
|
class |
WritableDateObjectInspector
A WritableDateObjectInspector inspects a DateWritable 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 |
WritableTimestampObjectInspector |
class |
WritableVoidObjectInspector
A WritableVoidObjectInspector inspects a NullWritable Object.
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveObjectInspector |
PrimitiveObjectInspectorFactory.getPrimitiveObjectInspectorFromClass(Class<?> c)
Returns an ObjectInspector for a primitive Class.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PrimitiveObjectInspectorUtils.comparePrimitiveObjects(Object o1,
PrimitiveObjectInspector oi1,
Object o2,
PrimitiveObjectInspector oi2)
Compare 2 primitive objects.
|
static boolean |
PrimitiveObjectInspectorUtils.comparePrimitiveObjectsWithConversion(Object o1,
PrimitiveObjectInspector oi1,
Object o2,
PrimitiveObjectInspector oi2)
Compare 2 Primitive Objects with their Object Inspector, conversions
allowed.
|
static double |
PrimitiveObjectInspectorUtils.convertPrimitiveToDouble(Object o,
PrimitiveObjectInspector oi)
Convert a primitive object to double.
|
static org.apache.hadoop.io.BytesWritable |
PrimitiveObjectInspectorUtils.getBinary(Object o,
PrimitiveObjectInspector oi) |
static boolean |
PrimitiveObjectInspectorUtils.getBoolean(Object o,
PrimitiveObjectInspector oi)
Get the boolean value out of a primitive object.
|
static byte |
PrimitiveObjectInspectorUtils.getByte(Object o,
PrimitiveObjectInspector oi)
Get the byte value out of a primitive object.
|
static Date |
PrimitiveObjectInspectorUtils.getDate(Object o,
PrimitiveObjectInspector oi) |
static double |
PrimitiveObjectInspectorUtils.getDouble(Object o,
PrimitiveObjectInspector oi)
Get the double value out of a primitive object.
|
static float |
PrimitiveObjectInspectorUtils.getFloat(Object o,
PrimitiveObjectInspector oi)
Get the float value out of a primitive object.
|
static HiveChar |
PrimitiveObjectInspectorUtils.getHiveChar(Object o,
PrimitiveObjectInspector oi) |
static HiveDecimal |
PrimitiveObjectInspectorUtils.getHiveDecimal(Object o,
PrimitiveObjectInspector oi) |
static HiveIntervalDayTime |
PrimitiveObjectInspectorUtils.getHiveIntervalDayTime(Object o,
PrimitiveObjectInspector oi) |
static HiveIntervalYearMonth |
PrimitiveObjectInspectorUtils.getHiveIntervalYearMonth(Object o,
PrimitiveObjectInspector oi) |
static HiveVarchar |
PrimitiveObjectInspectorUtils.getHiveVarchar(Object o,
PrimitiveObjectInspector oi) |
static int |
PrimitiveObjectInspectorUtils.getInt(Object o,
PrimitiveObjectInspector oi)
Get the integer value out of a primitive object.
|
static long |
PrimitiveObjectInspectorUtils.getLong(Object o,
PrimitiveObjectInspector oi)
Get the long value out of a primitive object.
|
static short |
PrimitiveObjectInspectorUtils.getShort(Object o,
PrimitiveObjectInspector oi)
Get the short value out of a primitive object.
|
static String |
PrimitiveObjectInspectorUtils.getString(Object o,
PrimitiveObjectInspector oi)
Get the String value out of a primitive object.
|
static Timestamp |
PrimitiveObjectInspectorUtils.getTimestamp(Object o,
PrimitiveObjectInspector oi) |
static Timestamp |
PrimitiveObjectInspectorUtils.getTimestamp(Object o,
PrimitiveObjectInspector inputOI,
boolean intToTimestampInSeconds) |
Copyright © 2016 The Apache Software Foundation. All rights reserved.