public class ColumnDescriptor extends Object
| Constructor and Description |
|---|
ColumnDescriptor(String name,
String comment,
TypeDescriptor type,
int position) |
ColumnDescriptor(org.apache.hive.service.rpc.thrift.TColumnDesc tColumnDesc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment() |
String |
getName() |
int |
getOrdinalPosition() |
Type |
getType() |
TypeDescriptor |
getTypeDescriptor() |
String |
getTypeName() |
boolean |
isPrimitive() |
static ColumnDescriptor |
newPrimitiveColumnDescriptor(String name,
String comment,
Type type,
int position) |
org.apache.hive.service.rpc.thrift.TColumnDesc |
toTColumnDesc() |
public ColumnDescriptor(String name, String comment, TypeDescriptor type, int position)
public ColumnDescriptor(org.apache.hive.service.rpc.thrift.TColumnDesc tColumnDesc)
public static ColumnDescriptor newPrimitiveColumnDescriptor(String name, String comment, Type type, int position)
public String getName()
public String getComment()
public TypeDescriptor getTypeDescriptor()
public int getOrdinalPosition()
public org.apache.hive.service.rpc.thrift.TColumnDesc toTColumnDesc()
public Type getType()
public boolean isPrimitive()
public String getTypeName()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.