Package org.apache.druid.segment.loading
Class VirtualPlaceholderSegment
java.lang.Object
org.apache.druid.segment.RowBasedSegment<Row>
org.apache.druid.segment.loading.VirtualPlaceholderSegment
- All Implemented Interfaces:
Closeable,AutoCloseable,Segment
Empty segment with nothing but a time column, used when
SegmentLoaderConfig.isVirtualStorage() is true
to create synthetic segments for SegmentMetadataQuery so to not
force download of segments from deep storage when computing the SQL schema.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.druid.segment.RowBasedSegment
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.Segment
getDebugString, isTombstone, validateOrElseThrow
-
Constructor Details
-
VirtualPlaceholderSegment
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceSegment- Overrides:
getIdin classRowBasedSegment<Row>
-
getDataInterval
@Nonnull public org.joda.time.Interval getDataInterval()- Specified by:
getDataIntervalin interfaceSegment- Overrides:
getDataIntervalin classRowBasedSegment<Row>
-
as
- Specified by:
asin interfaceSegment- Overrides:
asin classRowBasedSegment<Row>
-