public class SimpleTweetInputFormat extends org.apache.flink.api.common.io.DelimitedInputFormat<Tweet> implements org.apache.flink.api.java.typeutils.ResultTypeQueryable<Tweet>
| Constructor and Description |
|---|
SimpleTweetInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.typeinfo.TypeInformation<Tweet> |
getProducedType() |
Tweet |
nextRecord(Tweet record) |
void |
open(org.apache.flink.core.fs.FileInputSplit split) |
Tweet |
readRecord(Tweet reuse,
byte[] bytes,
int offset,
int numBytes) |
close, configure, getBufferSize, getCharset, getCurrentState, getDelimiter, getLineLengthLimit, getNumLineSamples, getStatistics, loadConfigParameters, loadGlobalConfigParams, reachedEnd, readLine, reopen, setBufferSize, setCharset, setDelimiter, setDelimiter, setDelimiter, setLineLengthLimit, setNumLineSamplesacceptFile, createInputSplits, decorateInputStream, extractFileExtension, getFilePath, getFileStats, getInflaterInputStreamFactory, getInputSplitAssigner, getMinSplitSize, getNestedFileEnumeration, getNumSplits, getOpenTimeout, getSplitLength, getSplitStart, registerInflaterInputStreamFactory, setFilePath, setFilePath, setFilesFilter, setMinSplitSize, setNestedFileEnumeration, setNumSplits, setOpenTimeout, testForUnsplittable, toStringpublic void open(org.apache.flink.core.fs.FileInputSplit split)
throws IOException
open in interface org.apache.flink.api.common.io.InputFormat<Tweet,org.apache.flink.core.fs.FileInputSplit>open in class org.apache.flink.api.common.io.DelimitedInputFormat<Tweet>IOExceptionpublic Tweet nextRecord(Tweet record) throws IOException
nextRecord in interface org.apache.flink.api.common.io.InputFormat<Tweet,org.apache.flink.core.fs.FileInputSplit>nextRecord in class org.apache.flink.api.common.io.DelimitedInputFormat<Tweet>IOExceptionpublic Tweet readRecord(Tweet reuse, byte[] bytes, int offset, int numBytes) throws IOException
readRecord in class org.apache.flink.api.common.io.DelimitedInputFormat<Tweet>IOExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.