@InterfaceAudience.Private public class VirtualColumn extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static VirtualColumn |
BLOCKOFFSET |
static VirtualColumn |
FILENAME |
static VirtualColumn |
GROUPINGID
GROUPINGID is used with GROUP BY GROUPINGS SETS, ROLLUP and CUBE.
|
static VirtualColumn |
RAWDATASIZE |
static VirtualColumn |
ROWID
|
static VirtualColumn |
ROWOFFSET |
static com.google.common.collect.ImmutableSet<String> |
VIRTUAL_COLUMN_NAMES |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
getIsHidden() |
String |
getName() |
ObjectInspector |
getObjectInspector() |
static List<VirtualColumn> |
getRegistry(org.apache.hadoop.conf.Configuration conf) |
static List<VirtualColumn> |
getStatsRegistry(org.apache.hadoop.conf.Configuration conf) |
TypeInfo |
getTypeInfo() |
static StructObjectInspector |
getVCSObjectInspector(List<VirtualColumn> vcs) |
int |
hashCode() |
boolean |
isHidden() |
static Collection<String> |
removeVirtualColumns(Collection<String> columns) |
static List<TypeInfo> |
removeVirtualColumnTypes(List<String> columnNames,
List<TypeInfo> columnTypes) |
public static final VirtualColumn FILENAME
public static final VirtualColumn BLOCKOFFSET
public static final VirtualColumn ROWOFFSET
public static final VirtualColumn RAWDATASIZE
public static final VirtualColumn ROWID
public static final VirtualColumn GROUPINGID
public static com.google.common.collect.ImmutableSet<String> VIRTUAL_COLUMN_NAMES
public static List<VirtualColumn> getStatsRegistry(org.apache.hadoop.conf.Configuration conf)
public static List<VirtualColumn> getRegistry(org.apache.hadoop.conf.Configuration conf)
public TypeInfo getTypeInfo()
public String getName()
public boolean isHidden()
public boolean getIsHidden()
public ObjectInspector getObjectInspector()
public static Collection<String> removeVirtualColumns(Collection<String> columns)
public static List<TypeInfo> removeVirtualColumnTypes(List<String> columnNames, List<TypeInfo> columnTypes)
public static StructObjectInspector getVCSObjectInspector(List<VirtualColumn> vcs)
Copyright © 2017 The Apache Software Foundation. All rights reserved.