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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancopyRecords(int skip, int start, int total) abstract booleandoEval(int inIndex, int outIndex) abstract voiddoSetup(FragmentContext context, VectorAccessible incoming, VectorAccessible outgoing) intvoidsetupCopier(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:
setupCopierin interfaceSampleCopier- Throws:
SchemaChangeException
-
getOutputRecords
public int getOutputRecords()- Specified by:
getOutputRecordsin interfaceSampleCopier
-
copyRecords
public boolean copyRecords(int skip, int start, int total) - Specified by:
copyRecordsin 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)
-