Constructor and Description |
---|
PColumnImpl() |
PColumnImpl(PColumn column,
int position) |
PColumnImpl(PName name,
PName familyName,
PDataType dataType,
Integer maxLength,
Integer scale,
boolean nullable,
int position,
SortOrder sortOrder,
Integer arrSize,
byte[] viewConstant,
boolean isViewReferenced,
String expressionStr,
boolean isRowTimestamp,
boolean isDynamic,
byte[] columnQualifierBytes) |
Modifier and Type | Method and Description |
---|---|
static PColumn |
createFromProto(PTableProtos.PColumn column)
Create a PColumn instance from PBed PColumn instance
|
boolean |
equals(Object obj) |
Integer |
getArraySize() |
byte[] |
getColumnQualifierBytes() |
PDataType |
getDataType() |
int |
getEstimatedSize() |
String |
getExpressionStr() |
PName |
getFamilyName() |
Integer |
getMaxLength() |
PName |
getName() |
int |
getPosition() |
Integer |
getScale() |
SortOrder |
getSortOrder() |
byte[] |
getViewConstant() |
int |
hashCode() |
boolean |
isDynamic() |
boolean |
isNullable() |
boolean |
isRowTimestamp() |
boolean |
isViewReferenced() |
static PTableProtos.PColumn |
toProto(PColumn column) |
String |
toString() |
public PColumnImpl()
public PColumnImpl(PName name, PName familyName, PDataType dataType, Integer maxLength, Integer scale, boolean nullable, int position, SortOrder sortOrder, Integer arrSize, byte[] viewConstant, boolean isViewReferenced, String expressionStr, boolean isRowTimestamp, boolean isDynamic, byte[] columnQualifierBytes)
public PColumnImpl(PColumn column, int position)
public int getEstimatedSize()
getEstimatedSize
in interface PColumn
public PName getName()
public PName getFamilyName()
getFamilyName
in interface PColumn
public PDataType getDataType()
getDataType
in interface PDatum
public Integer getMaxLength()
getMaxLength
in interface PDatum
public Integer getScale()
public String getExpressionStr()
getExpressionStr
in interface PColumn
public boolean isNullable()
isNullable
in interface PDatum
public int getPosition()
getPosition
in interface PColumn
public SortOrder getSortOrder()
getSortOrder
in interface PDatum
public Integer getArraySize()
getArraySize
in interface PColumn
public byte[] getViewConstant()
getViewConstant
in interface PColumn
public boolean isViewReferenced()
isViewReferenced
in interface PColumn
public boolean isRowTimestamp()
isRowTimestamp
in interface PColumn
public byte[] getColumnQualifierBytes()
getColumnQualifierBytes
in interface PColumn
public static PColumn createFromProto(PTableProtos.PColumn column)
column
- public static PTableProtos.PColumn toProto(PColumn column)
Copyright © 2019 Apache Software Foundation. All Rights Reserved.