- claimAlive() - Method in class com.aliyun.odps.udf.ExecutionContext
-
在
UDF
运行期调用此方法防止worker因超时被强制终止。
- cloneStream() - Method in class com.aliyun.odps.io.SourceInputStream
-
Clone a stream, the clone is a separate handle to the source data.
- close() - Method in class com.aliyun.odps.io.SinkOutputStream
-
output stream shall be closed by the system AFTER Outputer::close()
calling close() on SinkOutputStream is a no-op
- close() - Method in class com.aliyun.odps.io.SourceInputStream
-
- close() - Method in class com.aliyun.odps.udf.Aggregator
-
扫尾工作
- close() - Method in interface com.aliyun.odps.udf.ContextFunction
-
- close() - Method in class com.aliyun.odps.udf.Extractor
-
Interface for operations upon extractor exit, implementation can be no-op
- close() - Method in class com.aliyun.odps.udf.Outputer
-
Interface for cleaning up outputer before exit.
- close() - Method in interface com.aliyun.odps.udf.RecordReader
-
- close() - Method in interface com.aliyun.odps.udf.RecordWriter
-
- close() - Method in interface com.aliyun.odps.udf.TableRecordReader
-
- close() - Method in class com.aliyun.odps.udf.UDF
-
- close() - Method in class com.aliyun.odps.udf.UDJ
-
Interface for operations upon udj exit, implementation can be no-op
- close() - Method in class com.aliyun.odps.udf.UDTF
-
- close() - Method in class com.aliyun.odps.udf.VectorizedExtractor
-
Interface for operations upon extractor exit, implementation can be no-op
- close() - Method in class com.aliyun.odps.udf.VectorizedOutputer
-
Interface for operations upon outputer exit, implementation can be no-op
- collect(Object[]) - Method in interface com.aliyun.odps.udf.DataCollector
-
- collect(Object[]) - Method in interface com.aliyun.odps.udf.UDTFCollector
-
- com.aliyun.odps - package com.aliyun.odps
-
- com.aliyun.odps.exec - package com.aliyun.odps.exec
-
- com.aliyun.odps.io - package com.aliyun.odps.io
-
- com.aliyun.odps.serde - package com.aliyun.odps.serde
-
- com.aliyun.odps.udf - package com.aliyun.odps.udf
-
UDF API
主要包括 UDF
(User Defined Function,用户自定义函数)
和 UDTF
(User Defined Table-generating Function,用户自定义生成表函数)
- com.aliyun.odps.udf.annotation - package com.aliyun.odps.udf.annotation
-
UDF annotation,用于在Java代码中静态标记UDF的输入、输出类型。
- com.aliyun.odps.udf.impl - package com.aliyun.odps.udf.impl
-
UDF SDK中用于内部实现的功能,这部分不属于API,接口随时可能改变,不推荐使用。
- com.aliyun.odps.udf.utils - package com.aliyun.odps.udf.utils
-
- commit() - Method in class com.aliyun.odps.udf.VectorizedOutputer
-
- CommitMessage - Interface in com.aliyun.odps.udf
-
- commitTableWrite(Collection<CommitMessage>) - Method in interface com.aliyun.odps.udf.Committer
-
- Committer - Interface in com.aliyun.odps.udf
-
- Constants - Class in com.aliyun.odps.udf.impl
-
- Constants() - Constructor for class com.aliyun.odps.udf.impl.Constants
-
- ContextFunction - Interface in com.aliyun.odps.udf
-
- CounterUtils - Class in com.aliyun.odps.udf.utils
-
与 Counter 相关的静态工具类,包含一些工具方法
- CounterUtils() - Constructor for class com.aliyun.odps.udf.utils.CounterUtils
-
- createFromJsonString(String) - Static method in class com.aliyun.odps.udf.utils.CounterUtils
-
- createRecord() - Method in interface com.aliyun.odps.udf.RecordReader
-
Create an Writable of the appropriate type to be used as a record.
- getArguments() - Method in class com.aliyun.odps.udf.impl.AnnotationParser.Prototype
-
- getArgumentsString() - Method in class com.aliyun.odps.udf.impl.AnnotationParser.Prototype
-
- getAttributes() - Method in class com.aliyun.odps.udf.DataAttributes
-
Get a copy of all user-specified attributes.
- getBackupWorkerID() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取当前的backupWorkerID
- getBytesRead() - Method in class com.aliyun.odps.io.SourceInputStream
-
Get total number of bytes read by current inputstream so far
Note1: this can be less than (e.g., not all bytes read) or larger than (e.g., repeated reads from part of the
input via seek operation) the physical size of the file underlying the input stream
Note2: this denotes the "meaningful" size of read, bytes read into buffer but discarded (e.g., due to seek
operation) are not accounted for.
- getBytesRead() - Method in interface com.aliyun.odps.udf.Statistics
-
- getBytesWritten() - Method in class com.aliyun.odps.io.SinkOutputStream
-
Get total number of bytes written by current output stream so far
- getBytesWritten() - Method in interface com.aliyun.odps.udf.Statistics
-
- getCollector() - Method in class com.aliyun.odps.udf.UDTF
-
- getCommitterClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
- getConfigurations() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getCounter(Enum<?>) - Method in class com.aliyun.odps.exec.ExecutionContextReporter
-
- getCounter(String, String) - Method in class com.aliyun.odps.exec.ExecutionContextReporter
-
- getCounter(Enum<?>) - Method in interface com.aliyun.odps.exec.Reporter
-
Get the
Counter
of the given group with the given name.
- getCounter(String, String) - Method in interface com.aliyun.odps.exec.Reporter
-
Get the
Counter
of the given group with the given name.
- getCounter(Enum<?>) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getCounter(String, String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getCurrentPos() - Method in class com.aliyun.odps.io.SourceInputStream
-
Getter for current position of the cursor, within the physical file
- getCustomizedDataLocation() - Method in class com.aliyun.odps.udf.DataAttributes
-
Get the customized external data location that describes external data storage location other than
storage types with built-in support (such as Aliyun OSS/TableStore), user is responsible for parsing and
connecting to customized data location in self-defined Extractor and/or Outputer
- getDynamicPartitionColumnIndices() - Method in class com.aliyun.odps.udf.TableOutputerAttributes
-
- getDynamicPtWriteInfo() - Method in interface com.aliyun.odps.udf.DynamicPtWriteCommitMessage
-
- getEstimateBytes() - Method in interface com.aliyun.odps.udf.InputSplit
-
- getEstimateRows() - Method in interface com.aliyun.odps.udf.InputSplit
-
- getExtractorClass() - Method in interface com.aliyun.odps.udf.BaseStorageHandler
-
- getExtractorClass() - Method in class com.aliyun.odps.udf.OdpsStorageHandler
-
Getter for underlying extractor class
- getExtractorClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
- getFileName() - Method in class com.aliyun.odps.io.SourceInputStream
-
Getter for the file name associated with the file being streamed in.
- getFileSize() - Method in class com.aliyun.odps.io.SourceInputStream
-
Getter for the size in [bytes] of the physical file currently being processed.
- getFullTableColumns() - Method in class com.aliyun.odps.udf.DataAttributes
-
Getter for record columns describing the FULL schema of underlying physical data, represented by the
(external) table
- getHiveTableProperties(boolean) - Method in class com.aliyun.odps.udf.DataAttributes
-
Deprecated.
- getHiveTableProperties() - Method in class com.aliyun.odps.udf.DataAttributes
-
- getInputFormatClass() - Method in interface com.aliyun.odps.udf.BridgeStorageHandler
-
Hive compatibility API
- getInputSplit() - Method in class com.aliyun.odps.exec.ExecutionContextReporter
-
- getInputSplit() - Method in interface com.aliyun.odps.exec.Reporter
-
- getInputSplitClass() - Method in interface com.aliyun.odps.udf.InputSplitter
-
- getInputSplitterClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
- getInputVolumeFileSystem() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getInputVolumeFileSystem(String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getInputVolumeInfo() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getInputVolumeInfo(String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getInstanceID() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取ODPS Instance ID
- getIsOverwrite() - Method in class com.aliyun.odps.udf.TableOutputerAttributes
-
Whether the underlying output operation is insert overwrite.
- getLength() - Method in class com.aliyun.odps.exec.InputSplit
-
Get the total number of bytes in the data of the InputSplit
.
- getLocations() - Method in class com.aliyun.odps.exec.InputSplit
-
Get the list of hostnames where the input split is located.
- getMetaFileLocation(String) - Static method in class com.aliyun.odps.io.IoUtils
-
If data has been output by ODPS through external table, this returns the expected location of the
meta file generated by ODPS, see
IoUtils.parseOutputSubDirectoriesFromMeta(String)
for getting the
list of valid subdirectories output from meta file.
- getNeededIndexes() - Method in class com.aliyun.odps.udf.DataAttributes
-
Getter for needed indexes, this can be used to skip deserialization of non-needed column(s).
- getNextRow() - Method in class com.aliyun.odps.udf.StandaloneUDTF
-
获取下一条记录
- getNextRow() - Method in interface com.aliyun.odps.udf.UDTFPuller
-
从数据源中获取一条记录。
- getOdpsType(String) - Static method in class com.aliyun.odps.udf.utils.TypeUtils
-
- getOutputerClass() - Method in interface com.aliyun.odps.udf.BaseStorageHandler
-
- getOutputerClass() - Method in class com.aliyun.odps.udf.OdpsStorageHandler
-
Getter for underlying outputer class
- getOutputerClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
- getOutputFormatClass() - Method in interface com.aliyun.odps.udf.BridgeStorageHandler
-
Hive compatibility API
- getOutputVolumeFileSystem() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getOutputVolumeFileSystem(String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getOutputVolumeInfo() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getOutputVolumeInfo(String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getProgress() - Method in class com.aliyun.odps.exec.ExecutionContextReporter
-
- getProgress() - Method in interface com.aliyun.odps.exec.Reporter
-
Get the progress of the task.
- getProtoTypes() - Method in class com.aliyun.odps.udf.impl.AnnotationParser.ParseResult
-
- getPuller() - Method in class com.aliyun.odps.udf.StandaloneUDTF
-
- getReadBytes() - Method in class com.aliyun.odps.udf.VectorizedExtractor
-
- getRecordColumns() - Method in class com.aliyun.odps.udf.DataAttributes
-
Getter for columns describing expected Record schema: un-used columns may have been pruned and this schema
therefore can be either
1.
- getRecordReader(InputSplit, Configuration, Reporter) - Method in interface com.aliyun.odps.udf.InputFormat
-
Get the RecordReader for the given InputSplit.
- getRecordWriter(Configuration, String, Class, boolean, Properties, Reporter) - Method in interface com.aliyun.odps.udf.OutputFormat
-
- getRemainingExpr() - Method in class com.aliyun.odps.udf.RowExpression
-
- getResources() - Method in class com.aliyun.odps.udf.DataAttributes
-
Getter for set of resources.
- getResourceTableReader(String) - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getRetryCount() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取运行时当前Worker的重试次数
- getReturns() - Method in class com.aliyun.odps.udf.impl.AnnotationParser.Prototype
-
- getReturnsString() - Method in class com.aliyun.odps.udf.impl.AnnotationParser.Prototype
-
- getRunningProject() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取运行时的Project名
- getSerDeClass() - Method in interface com.aliyun.odps.udf.BridgeStorageHandler
-
Hive compatibility API
- getSerializedClass() - Method in class com.aliyun.odps.udf.RecordSerDe
-
- getSplitInBytes() - Method in class com.aliyun.odps.udf.InputSplitter.SplitStrategy
-
- getSplits(Configuration, int) - Method in interface com.aliyun.odps.udf.InputFormat
-
Logically split the set of input files for the job.
- getSplitSize() - Method in class com.aliyun.odps.io.SourceInputStream
-
Getter for the split size supposedly assigned to the input stream.
- getSplitStart() - Method in class com.aliyun.odps.io.SourceInputStream
-
Getter for the start position (within the physical stream) that is assigned to the input stream to process.
- getStageID() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取运行时StageID
- getStaticPartitionName() - Method in class com.aliyun.odps.udf.TableOutputerAttributes
-
- getStaticPartitionVals() - Method in class com.aliyun.odps.udf.DataAttributes
-
- getSystemOutputDirectory(String) - Static method in class com.aliyun.odps.io.IoUtils
-
Get the system directory ODPS used when outputting unstructured data
- getTableInfo() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取运行时处理的数据块所属的表或分区信息。
- getTempFileSystem() - Method in class com.aliyun.odps.udf.ExecutionContext
-
- getTotalYieldCount() - Method in interface com.aliyun.odps.Yieldable
-
- getValueByKey(String) - Method in class com.aliyun.odps.udf.DataAttributes
-
Get the attribute value associated with the given key, return null if key not found
- getVectorizedExtractorClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
Getter for underlying VectorizedExtractor class
- getVectorizedOutputerClass() - Method in class com.aliyun.odps.udf.VectorizedStorageHandler
-
Getter for underlying VectorizedOutputer class
- getWorkerID() - Method in class com.aliyun.odps.udf.ExecutionContext
-
获取运行时WorkerID