|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaBinaryObjectInspector
public class JavaBinaryObjectInspector
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector |
---|
PrimitiveObjectInspector.PrimitiveCategory |
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
ObjectInspector.Category |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector |
---|
typeParams |
Method Summary | |
---|---|
byte[] |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be stored independently of the parameter. |
byte[] |
create(byte[] bb)
Create an object with the value. |
byte[] |
create(BytesWritable bw)
Create an object with the value. |
byte[] |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object. |
BytesWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object. |
byte[] |
set(Object o,
byte[] bb)
Set the object with the value. |
byte[] |
set(Object o,
BytesWritable bw)
Set the object with the value. |
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveJavaObjectInspector |
---|
preferWritable |
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector |
---|
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector |
---|
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParams |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
getCategory, getTypeName |
Method Detail |
---|
public byte[] copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
copyObject
in class AbstractPrimitiveJavaObjectInspector
public BytesWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface BinaryObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
public byte[] getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface BinaryObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class AbstractPrimitiveJavaObjectInspector
public byte[] set(Object o, byte[] bb)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public byte[] set(Object o, BytesWritable bw)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public byte[] create(byte[] bb)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
public byte[] create(BytesWritable bw)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |