Package org.apache.drill.exec.planner
Class StarColumnHelper
java.lang.Object
org.apache.drill.exec.planner.StarColumnHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsStarColumn
(org.apache.calcite.rel.type.RelDataType type) static boolean
containsStarColumnInProject
(org.apache.calcite.rel.type.RelDataType inputRowType, List<org.apache.calcite.rex.RexNode> projExprs) static String
extractColumnPrefix
(String fieldName) static String
extractStarColumnPrefix
(String fieldName) static boolean
isNonPrefixedStarColumn
(String fieldName) static boolean
isPrefixedStarColumn
(String fieldName) static boolean
isRegularColumnOrExp
(String fieldName) static boolean
isStarColumn
(String fieldName) static boolean
subsumeColumn
(Map<String, String> prefixMap, String fieldName)
-
Field Details
-
PREFIX_DELIMITER
- See Also:
-
PREFIXED_STAR_COLUMN
- See Also:
-
-
Constructor Details
-
StarColumnHelper
public StarColumnHelper()
-
-
Method Details
-
containsStarColumn
public static boolean containsStarColumn(org.apache.calcite.rel.type.RelDataType type) -
containsStarColumnInProject
public static boolean containsStarColumnInProject(org.apache.calcite.rel.type.RelDataType inputRowType, List<org.apache.calcite.rex.RexNode> projExprs) -
isPrefixedStarColumn
-
isNonPrefixedStarColumn
-
isStarColumn
-
isRegularColumnOrExp
-
extractStarColumnPrefix
-
extractColumnPrefix
-
subsumeColumn
-