类 FileRecord
java.lang.Object
org.apache.pulsar.io.file.FileRecord
- 所有已实现的接口:
org.apache.pulsar.functions.api.Record<byte[]>
Implementation of the Record interface for File Source data.
- The key is set to the source file name + the line number of the record.
- The value is set to the file contents for the given line number (in bytes)
- The following user properties are also set:
- The source file name
- The absolute path of the source file
- The last modified time of the source file.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.functions.api.Record
ack, fail, getDestinationTopic, getEventTime, getMessage, getPartitionId, getPartitionIndex, getRecordSequence, getSchema, getTopicName
-
字段详细资料
-
构造器详细资料
-
FileRecord
-
-
方法详细资料
-
getKey
- 指定者:
getKey在接口中org.apache.pulsar.functions.api.Record<byte[]>
-
getValue
public byte[] getValue()- 指定者:
getValue在接口中org.apache.pulsar.functions.api.Record<byte[]>
-
getProperties
- 指定者:
getProperties在接口中org.apache.pulsar.functions.api.Record<byte[]>
-
setProperty
-