Package inetsoft.spark.quickbooks.source
Class QuickbooksPartitionReader
- java.lang.Object
-
- inetsoft.spark.quickbooks.source.QuickbooksPartitionReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
public class QuickbooksPartitionReader extends Object implements org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
-
-
Constructor Summary
Constructors Constructor Description QuickbooksPartitionReader(QuickbooksStreamReader reader, SparkSchema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.spark.sql.catalyst.InternalRowget()booleannext()
-
-
-
Constructor Detail
-
QuickbooksPartitionReader
public QuickbooksPartitionReader(QuickbooksStreamReader reader, SparkSchema schema)
-
-
Method Detail
-
next
public boolean next()
- Specified by:
nextin interfaceorg.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
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>
-
-