Class Projections
- java.lang.Object
-
- org.apache.druid.segment.projections.Projections
-
public class Projections extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Projections.PhysicalColumnChecker
Returns true if column is defined inAggregateProjectionSpec.getGroupingColumns()
OR if the column does not exist in the base table.static class
Projections.ProjectionMatch
static class
Projections.ProjectionMatchBuilder
-
Constructor Summary
Constructors Constructor Description Projections()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> QueryableProjection<T>
findMatchingProjection(CursorBuildSpec cursorBuildSpec, SortedSet<AggregateProjectionMetadata> projections, Projections.PhysicalColumnChecker physicalChecker, Function<String,T> getRowSelector)
static String
getProjectionSmooshV9FileName(AggregateProjectionMetadata projectionSpec, String columnName)
static String
getProjectionSmooshV9Prefix(AggregateProjectionMetadata projectionSpec)
static com.google.common.base.Supplier<ColumnHolder>
makeConstantTimeSupplier(int numRows, long constant)
-
-
-
Method Detail
-
makeConstantTimeSupplier
public static com.google.common.base.Supplier<ColumnHolder> makeConstantTimeSupplier(int numRows, long constant)
-
findMatchingProjection
@Nullable public static <T> QueryableProjection<T> findMatchingProjection(CursorBuildSpec cursorBuildSpec, SortedSet<AggregateProjectionMetadata> projections, Projections.PhysicalColumnChecker physicalChecker, Function<String,T> getRowSelector)
-
getProjectionSmooshV9FileName
public static String getProjectionSmooshV9FileName(AggregateProjectionMetadata projectionSpec, String columnName)
-
getProjectionSmooshV9Prefix
public static String getProjectionSmooshV9Prefix(AggregateProjectionMetadata projectionSpec)
-
-