public class ScriptDesc extends AbstractOperatorDesc
bucketingVersion, colExprMap, memAvailable, memNeeded, opProps, opTraits, runtimeStatsTmpDir, statistics, vectorDesc, vectorMode
Constructor and Description |
---|
ScriptDesc() |
ScriptDesc(String scriptCmd,
TableDesc scriptInputInfo,
Class<? extends RecordWriter> inRecordWriterClass,
TableDesc scriptOutputInfo,
Class<? extends RecordReader> outRecordReaderClass,
Class<? extends RecordReader> errRecordReaderClass,
TableDesc scriptErrInfo) |
Modifier and Type | Method and Description |
---|---|
Class<? extends RecordReader> |
getErrRecordReaderClass() |
Class<? extends RecordWriter> |
getInRecordWriterClass() |
Class<? extends RecordReader> |
getOutRecordReaderClass() |
String |
getScriptCmd() |
TableDesc |
getScriptErrInfo() |
TableDesc |
getScriptInputInfo() |
TableDesc |
getScriptOutputInfo() |
boolean |
isSame(OperatorDesc other)
The default implementation delegates to
Object.equals(Object) . |
void |
setErrRecordReaderClass(Class<? extends RecordReader> errRecordReaderClass) |
void |
setInRecordWriterClass(Class<? extends RecordWriter> inRecordWriterClass) |
void |
setOutRecordReaderClass(Class<? extends RecordReader> outRecordReaderClass) |
void |
setScriptCmd(String scriptCmd) |
void |
setScriptErrInfo(TableDesc scriptErrInfo) |
void |
setScriptInputInfo(TableDesc scriptInputInfo) |
void |
setScriptOutputInfo(TableDesc scriptOutputInfo) |
addComputedField, clone, fillSignature, getBucketingVersion, getColumnExprMap, getColumnExprMapForExplain, getComputedFields, getMaxMemoryAvailable, getMemoryNeeded, getOpProps, getRuntimeStatsTmpDir, getStatistics, getTraits, getUserLevelStatistics, getVectorDesc, getVectorMode, setBucketingVersion, setColumnExprMap, setMaxMemoryAvailable, setMemoryNeeded, setOpProps, setRuntimeStatsTmpDir, setStatistics, setTraits, setVectorDesc, setVectorMode
public ScriptDesc()
public ScriptDesc(String scriptCmd, TableDesc scriptInputInfo, Class<? extends RecordWriter> inRecordWriterClass, TableDesc scriptOutputInfo, Class<? extends RecordReader> outRecordReaderClass, Class<? extends RecordReader> errRecordReaderClass, TableDesc scriptErrInfo)
public String getScriptCmd()
public void setScriptCmd(String scriptCmd)
public TableDesc getScriptOutputInfo()
public void setScriptOutputInfo(TableDesc scriptOutputInfo)
public TableDesc getScriptErrInfo()
public void setScriptErrInfo(TableDesc scriptErrInfo)
public TableDesc getScriptInputInfo()
public void setScriptInputInfo(TableDesc scriptInputInfo)
public Class<? extends RecordReader> getOutRecordReaderClass()
public void setOutRecordReaderClass(Class<? extends RecordReader> outRecordReaderClass)
outRecordReaderClass
- the outRecordReaderClass to setpublic Class<? extends RecordReader> getErrRecordReaderClass()
public void setErrRecordReaderClass(Class<? extends RecordReader> errRecordReaderClass)
errRecordReaderClass
- the errRecordReaderClass to setpublic Class<? extends RecordWriter> getInRecordWriterClass()
public void setInRecordWriterClass(Class<? extends RecordWriter> inRecordWriterClass)
inRecordWriterClass
- the inRecordWriterClass to setpublic boolean isSame(OperatorDesc other)
AbstractOperatorDesc
Object.equals(Object)
. Intended to be
overridden by sub classes.isSame
in interface OperatorDesc
isSame
in class AbstractOperatorDesc
Copyright © 2022 The Apache Software Foundation. All rights reserved.