Package org.apache.druid.query.search
Class BySegmentSearchResultValue
java.lang.Object
org.apache.druid.query.search.SearchResultValue
org.apache.druid.query.search.BySegmentSearchResultValue
- All Implemented Interfaces:
Iterable<SearchHit>,BySegmentResultValue<Result<SearchResultValue>>
public class BySegmentSearchResultValue
extends SearchResultValue
implements BySegmentResultValue<Result<SearchResultValue>>
-
Constructor Summary
ConstructorsConstructorDescriptionBySegmentSearchResultValue(List<Result<SearchResultValue>> results, String segmentId, org.joda.time.Interval interval) -
Method Summary
Methods inherited from class org.apache.druid.query.search.SearchResultValue
equals, hashCode, iteratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BySegmentSearchResultValue
public BySegmentSearchResultValue(List<Result<SearchResultValue>> results, String segmentId, org.joda.time.Interval interval)
-
-
Method Details
-
getValue
- Overrides:
getValuein classSearchResultValue
-
getResults
- Specified by:
getResultsin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
getSegmentId
- Specified by:
getSegmentIdin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
getInterval
public org.joda.time.Interval getInterval()- Specified by:
getIntervalin interfaceBySegmentResultValue<Result<SearchResultValue>>
-
toString
- Overrides:
toStringin classSearchResultValue
-