Package io.trino.hive.formats.line.text
Class TextLineReaderFactory
java.lang.Object
io.trino.hive.formats.line.text.TextLineReaderFactory
- All Implemented Interfaces:
LineReaderFactory
-
Constructor Summary
ConstructorsConstructorDescriptionTextLineReaderFactory(int fileBufferSize, int initialLineBufferSize, int maxLineLength) -
Method Summary
Modifier and TypeMethodDescriptioncreateLineReader(TrinoInputFile inputFile, long start, long length, int headerCount, int footerCount)
-
Constructor Details
-
TextLineReaderFactory
public TextLineReaderFactory(int fileBufferSize, int initialLineBufferSize, int maxLineLength)
-
-
Method Details
-
getHiveInputFormatClassNames
- Specified by:
getHiveInputFormatClassNamesin interfaceLineReaderFactory
-
createLineBuffer
- Specified by:
createLineBufferin interfaceLineReaderFactory
-
createLineReader
public LineReader createLineReader(TrinoInputFile inputFile, long start, long length, int headerCount, int footerCount) throws IOException - Specified by:
createLineReaderin interfaceLineReaderFactory- Throws:
IOException
-