public abstract class LazyPrimitive<OI extends ObjectInspector,T extends Writable> extends LazyObject<OI>
Modifier and Type | Field and Description |
---|---|
protected T |
data |
protected boolean |
isNull |
oi
Modifier | Constructor and Description |
---|---|
protected |
LazyPrimitive(LazyPrimitive<OI,T> copy) |
protected |
LazyPrimitive(OI oi) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getObject()
Returns the primitive object represented by this LazyObject.
|
T |
getWritableObject() |
int |
hashCode() |
void |
logExceptionMessage(ByteArrayRef bytes,
int start,
int length,
java.lang.String dataType) |
java.lang.String |
toString() |
getInspector, setInspector
init
protected T extends Writable data
protected boolean isNull
protected LazyPrimitive(OI oi)
protected LazyPrimitive(LazyPrimitive<OI,T> copy)
public java.lang.Object getObject()
getObject
in class LazyObjectBase
public T getWritableObject()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class LazyObject<OI extends ObjectInspector>
public void logExceptionMessage(ByteArrayRef bytes, int start, int length, java.lang.String dataType)
Copyright © 2012 The Apache Software Foundation