Class IncrementalIndexPhysicalSegmentInspector
java.lang.Object
org.apache.druid.segment.incremental.IncrementalIndexPhysicalSegmentInspector
- All Implemented Interfaces:
Expr.InputBindingInspector,ColumnInspector,PhysicalSegmentInspector
public class IncrementalIndexPhysicalSegmentInspector
extends Object
implements PhysicalSegmentInspector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnCapabilities(String column) Returns capabilities of a particular column.intgetDimensionCardinality(String column) Returns the number of distinct values in a column, if known, orDimensionDictionarySelector.CARDINALITY_UNKNOWNif not.}getMaxValue(String column) Returns the minimum value of the provided column, if known through an index, dictionary, or cache.ReturnsMetadatawhich contains details about how the segment was createdgetMinValue(String column) Returns the minimum value of the provided column, if known through an index, dictionary, or cache.intReturns the number of rows in the segmentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.ColumnInspector
getTypeMethods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
Constructor Details
-
IncrementalIndexPhysicalSegmentInspector
-
-
Method Details
-
getMetadata
Description copied from interface:PhysicalSegmentInspectorReturnsMetadatawhich contains details about how the segment was created- Specified by:
getMetadatain interfacePhysicalSegmentInspector
-
getMinValue
Description copied from interface:PhysicalSegmentInspectorReturns the minimum value of the provided column, if known through an index, dictionary, or cache. Returns null if not known. Does not scan the column to find the minimum value.- Specified by:
getMinValuein interfacePhysicalSegmentInspector
-
getMaxValue
Description copied from interface:PhysicalSegmentInspectorReturns the minimum value of the provided column, if known through an index, dictionary, or cache. Returns null if not known. Does not scan the column to find the maximum value.- Specified by:
getMaxValuein interfacePhysicalSegmentInspector
-
getDimensionCardinality
Description copied from interface:PhysicalSegmentInspectorReturns the number of distinct values in a column, if known, orDimensionDictionarySelector.CARDINALITY_UNKNOWNif not.}- Specified by:
getDimensionCardinalityin interfacePhysicalSegmentInspector
-
getColumnCapabilities
Description copied from interface:ColumnInspectorReturns capabilities of a particular column.- Specified by:
getColumnCapabilitiesin interfaceColumnInspector- Parameters:
column- column name- Returns:
- capabilities, or null
-
getNumRows
public int getNumRows()Description copied from interface:PhysicalSegmentInspectorReturns the number of rows in the segment- Specified by:
getNumRowsin interfacePhysicalSegmentInspector
-