Class SampleCopierTemplate
java.lang.Object
org.apache.drill.exec.physical.impl.orderedpartitioner.SampleCopierTemplate
- All Implemented Interfaces:
SampleCopier
-
Field Summary
Fields inherited from interface org.apache.drill.exec.physical.impl.orderedpartitioner.SampleCopier
TEMPLATE_DEFINITION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
copyRecords
(int skip, int start, int total) abstract boolean
doEval
(int inIndex, int outIndex) abstract void
doSetup
(FragmentContext context, VectorAccessible incoming, VectorAccessible outgoing) int
void
setupCopier
(FragmentContext context, SelectionVector4 sv4, VectorAccessible incoming, VectorAccessible outgoing)
-
Constructor Details
-
SampleCopierTemplate
public SampleCopierTemplate()
-
-
Method Details
-
setupCopier
public void setupCopier(FragmentContext context, SelectionVector4 sv4, VectorAccessible incoming, VectorAccessible outgoing) throws SchemaChangeException - Specified by:
setupCopier
in interfaceSampleCopier
- Throws:
SchemaChangeException
-
getOutputRecords
public int getOutputRecords()- Specified by:
getOutputRecords
in interfaceSampleCopier
-
copyRecords
public boolean copyRecords(int skip, int start, int total) - Specified by:
copyRecords
in interfaceSampleCopier
-
doSetup
public abstract void doSetup(@Named("context") FragmentContext context, @Named("incoming") VectorAccessible incoming, @Named("outgoing") VectorAccessible outgoing) -
doEval
public abstract boolean doEval(@Named("inIndex") int inIndex, @Named("outIndex") int outIndex)
-