Package org.apache.arrow.datafusion
Class CsvFormat
java.lang.Object
org.apache.arrow.datafusion.CsvFormat
- All Implemented Interfaces:
AutoCloseable,FileFormat
The CSV file format configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()final longlongGet a pointer to the native objectprotected final booleanisClosed()protected final voidregisterChild(org.apache.arrow.datafusion.AbstractProxy child) Register a child proxy object that should be closed when this object is closedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Constructor Details
-
CsvFormat
public CsvFormat()Create new CSV format with default options
-
-
Method Details
-
getPointer
long getPointer()Get a pointer to the native object- Returns:
- Pointer value as a long
-
registerChild
protected final void registerChild(org.apache.arrow.datafusion.AbstractProxy child) Register a child proxy object that should be closed when this object is closed- Parameters:
child- the child proxy to register
-
isClosed
protected final boolean isClosed()- Returns:
- Whether the object has been closed
-
getPointer
public final long getPointer() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-