Package org.apache.arrow.datafusion
Class ArrowFormat
java.lang.Object
org.apache.arrow.datafusion.ArrowFormat
- All Implemented Interfaces:
AutoCloseable,FileFormat
The Apache Arrow IPC file format configuration. This format is also known as Feather V2
-
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
-
ArrowFormat
public ArrowFormat()Create a new ArrowFormat 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
-