Package org.apache.druid.segment
Class NoopQueryableIndex
java.lang.Object
org.apache.druid.segment.NoopQueryableIndex
- All Implemented Interfaces:
Closeable,AutoCloseable,Expr.InputBindingInspector,ColumnInspector,QueryableIndex
A no-op implementation of QueryableIndex. Throws UnsupportedOperationException for all methods, except
close().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()The close method shouldn't actually be here as this is nasty.List of dimensions, not includingColumnHolder.TIME_COLUMN_NAME.getColumnHolder(String columnName) org.joda.time.IntervalMap of column name toDimensionHandler, whose contents and iteration order matchesQueryableIndex.getAvailableDimensions().intReturns the ordering of rows in this index.Methods 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, canVectorizeMethods inherited from interface org.apache.druid.segment.QueryableIndex
getColumnCapabilities, getProjection, getProjectionQueryableIndex
-
Constructor Details
-
NoopQueryableIndex
public NoopQueryableIndex()
-
-
Method Details
-
getDataInterval
public org.joda.time.Interval getDataInterval()- Specified by:
getDataIntervalin interfaceQueryableIndex
-
getNumRows
public int getNumRows()- Specified by:
getNumRowsin interfaceQueryableIndex
-
getAvailableDimensions
Description copied from interface:QueryableIndexList of dimensions, not includingColumnHolder.TIME_COLUMN_NAME.- Specified by:
getAvailableDimensionsin interfaceQueryableIndex
-
getBitmapFactoryForDimensions
- Specified by:
getBitmapFactoryForDimensionsin interfaceQueryableIndex
-
getMetadata
- Specified by:
getMetadatain interfaceQueryableIndex
-
getDimensionHandlers
Description copied from interface:QueryableIndexMap of column name toDimensionHandler, whose contents and iteration order matchesQueryableIndex.getAvailableDimensions().- Specified by:
getDimensionHandlersin interfaceQueryableIndex
-
getOrdering
Description copied from interface:QueryableIndexReturns the ordering of rows in this index.- Specified by:
getOrderingin interfaceQueryableIndex
-
close
public void close()Description copied from interface:QueryableIndexThe close method shouldn't actually be here as this is nasty. We will adjust it in the future.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceQueryableIndex
-
getColumnNames
- Specified by:
getColumnNamesin interfaceQueryableIndex
-
getColumnHolder
- Specified by:
getColumnHolderin interfaceQueryableIndex
-