Class SorterWrapper
java.lang.Object
org.apache.drill.exec.physical.impl.xsort.BaseWrapper
org.apache.drill.exec.physical.impl.xsort.BaseSortWrapper
org.apache.drill.exec.physical.impl.xsort.SorterWrapper
Single-batch sorter using a generated implementation based on the
schema and sort specification. The generated sorter is reused
across batches. The sorter must be closed at each schema change
so that the sorter will generate a new implementation against
the changed schema.
-
Field Summary
Fields inherited from class org.apache.drill.exec.physical.impl.xsort.BaseSortWrapper
LEFT_MAPPING, MAIN_MAPPING, RIGHT_MAPPING
Fields inherited from class org.apache.drill.exec.physical.impl.xsort.BaseWrapper
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
sortBatch
(VectorContainer convertedBatch, SelectionVector2 sv2) Methods inherited from class org.apache.drill.exec.physical.impl.xsort.BaseSortWrapper
generateComparisons
Methods inherited from class org.apache.drill.exec.physical.impl.xsort.BaseWrapper
getInstance
-
Constructor Details
-
SorterWrapper
-
-
Method Details
-
sortBatch
-
close
public void close()
-