public class TableScanDesc extends AbstractOperatorDesc implements IStatsGatherDesc
Modifier and Type | Class and Description |
---|---|
class |
TableScanDesc.TableScanOperatorExplainVectorization |
Modifier and Type | Field and Description |
---|---|
static String |
AS_OF_TIMESTAMP |
static String |
AS_OF_VERSION |
static String |
FILTER_EXPR_CONF_STR |
static String |
FILTER_OBJECT_CONF_STR |
static String |
FILTER_TEXT_CONF_STR |
static String |
PARTITION_PRUNING_FILTER |
bucketingVersion, colExprMap, memAvailable, memNeeded, opProps, opTraits, runtimeStatsTmpDir, statistics, vectorDesc, vectorMode
Constructor and Description |
---|
TableScanDesc() |
TableScanDesc(String alias,
List<VirtualColumn> vcs,
Table tblMetadata) |
TableScanDesc(String alias,
List<VirtualColumn> vcs,
Table tblMetadata,
TableScanOperator.ProbeDecodeContext probeDecodeContext) |
TableScanDesc(String alias,
Table tblMetadata) |
TableScanDesc(Table tblMetadata) |
addComputedField, fillSignature, getBucketingVersion, getColumnExprMap, getColumnExprMapForExplain, getComputedFields, getMaxMemoryAvailable, getMemoryNeeded, getRuntimeStatsTmpDir, getStatistics, getTraits, getUserLevelStatistics, getVectorDesc, getVectorMode, setBucketingVersion, setColumnExprMap, setMaxMemoryAvailable, setMemoryNeeded, setOpProps, setRuntimeStatsTmpDir, setStatistics, setTraits, setVectorDesc, setVectorMode
public static final String FILTER_EXPR_CONF_STR
public static final String FILTER_TEXT_CONF_STR
public static final String FILTER_OBJECT_CONF_STR
public static final String PARTITION_PRUNING_FILTER
public static final String AS_OF_TIMESTAMP
public static final String AS_OF_VERSION
public TableScanDesc()
public TableScanDesc(Table tblMetadata)
public TableScanDesc(String alias, List<VirtualColumn> vcs, Table tblMetadata)
public TableScanDesc(String alias, List<VirtualColumn> vcs, Table tblMetadata, TableScanOperator.ProbeDecodeContext probeDecodeContext)
public Object clone()
clone
in interface OperatorDesc
clone
in class AbstractOperatorDesc
public String getAlias()
public String getPredicateString()
public String getTableName()
public String getDatabaseName()
public boolean isTemporary()
public String getTbl()
public boolean isTranscationalTable()
public AcidUtils.AcidOperationalProperties getAcidOperationalProperties()
public String getFilterExprString()
public ExprNodeGenericFuncDesc getFilterExpr()
public void setFilterExpr(ExprNodeGenericFuncDesc filterExpr)
public String getProbeDecodeString()
public void setProbeDecodeContext(TableScanOperator.ProbeDecodeContext probeDecodeContext)
public Serializable getFilterObject()
public void setFilterObject(Serializable filterObject)
public void setNeededNestedColumnPaths(List<String> neededNestedColumnPaths)
public void setAlias(String alias)
public void setGatherStats(boolean gatherStats)
public boolean isGatherStats()
isGatherStats
in interface IStatsGatherDesc
public String getTmpStatsDir()
getTmpStatsDir
in interface IStatsGatherDesc
public void setTmpStatsDir(String tmpStatsDir)
public List<VirtualColumn> getVirtualCols()
public void setVirtualCols(List<VirtualColumn> virtualCols)
public void addVirtualCols(List<VirtualColumn> virtualCols)
public boolean hasVirtualCols()
public void setStatsAggPrefix(String k)
public String getStatsAggPrefix()
getStatsAggPrefix
in interface IStatsGatherDesc
public boolean isStatsReliable()
public void setStatsReliable(boolean statsReliable)
public void setRowLimit(int rowLimit)
public int getRowLimit()
public Integer getRowLimitExplain()
public void setBucketFileNameMapping(Map<String,Integer> bucketFileNameMapping)
public void setIsMetadataOnly(boolean metadata_only)
public boolean getIsMetadataOnly()
public String getQualifiedTable()
public Table getTableMetadata()
public void setTableMetadata(Table tableMetadata)
public TableSample getTableSample()
public void setTableSample(TableSample tableSample)
public String getSerializedFilterExpr()
public void setSerializedFilterExpr(String serializedFilterExpr)
public String getSerializedFilterObject()
public void setSerializedFilterObject(String serializedFilterObject)
public void setIncludedBuckets(BitSet bitset)
public BitSet getIncludedBuckets()
public String getIncludedBucketExplain()
public int getNumBuckets()
public void setNumBuckets(int numBuckets)
public boolean isNeedSkipHeaderFooters()
public Map<String,String> getOpProps()
getOpProps
in interface OperatorDesc
getOpProps
in class AbstractOperatorDesc
public String getAsOfVersion()
public String getAsOfTimestamp()
public TableScanDesc.TableScanOperatorExplainVectorization getTableScanVectorization()
public void setVectorized(boolean vectorized)
public boolean isVectorized()
public boolean isSame(OperatorDesc other)
AbstractOperatorDesc
Object.equals(Object)
. Intended to be
overridden by sub classes.isSame
in interface OperatorDesc
isSame
in class AbstractOperatorDesc
public boolean isFullAcidTable()
Copyright © 2022 The Apache Software Foundation. All rights reserved.