Package com.lancedb.lance.spark.read
Class LanceRowPartitionReader
java.lang.Object
com.lancedb.lance.spark.read.LanceRowPartitionReader
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
public class LanceRowPartitionReader
extends Object
implements org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static LanceRowPartitionReadercreate(LanceInputPartition inputPartition) org.apache.spark.sql.catalyst.InternalRowget()booleannext()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.read.PartitionReader
currentMetricsValues
-
Constructor Details
-
LanceRowPartitionReader
-
-
Method Details
-
create
-
next
- Specified by:
nextin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>- Throws:
IOException
-
get
public org.apache.spark.sql.catalyst.InternalRow get()- Specified by:
getin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-