public class TypeDesc extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Class and Description |
---|---|
static class |
TypeDesc.Type |
Constructor and Description |
---|
TypeDesc() |
TypeDesc(TypeDesc.Type type) |
TypeDesc(TypeDesc.Type type,
int precision) |
TypeDesc(TypeDesc.Type type,
int precision,
int scale) |
Modifier and Type | Method and Description |
---|---|
int |
getPrecision() |
int |
getScale() |
TypeDesc.Type |
getType() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public TypeDesc(TypeDesc.Type type)
public TypeDesc(TypeDesc.Type type, int precision, int scale)
public TypeDesc(TypeDesc.Type type, int precision)
public TypeDesc()
public TypeDesc.Type getType()
public int getPrecision()
public int getScale()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.