Package com.lancedb.lance.spark.read
Class LanceInputPartition
java.lang.Object
com.lancedb.lance.spark.read.LanceInputPartition
- All Implemented Interfaces:
Serializable,org.apache.spark.sql.connector.read.InputPartition
public class LanceInputPartition
extends Object
implements org.apache.spark.sql.connector.read.InputPartition
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLanceInputPartition(org.apache.spark.sql.types.StructType schema, int partitionId, LanceSplit lanceSplit, LanceConfig config, Optional<String> whereCondition, Optional<Integer> limit, Optional<Integer> offset, Optional<List<com.lancedb.lance.ipc.ColumnOrdering>> topNSortOrders, Optional<org.apache.spark.sql.connector.expressions.aggregate.Aggregation> pushedAggregation, String scanId) LanceInputPartition(org.apache.spark.sql.types.StructType schema, int partitionId, LanceSplit lanceSplit, LanceConfig config, Optional<String> whereCondition, String scanId) -
Method Summary
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.InputPartition
preferredLocations
-
Constructor Details
-
LanceInputPartition
public LanceInputPartition(org.apache.spark.sql.types.StructType schema, int partitionId, LanceSplit lanceSplit, LanceConfig config, Optional<String> whereCondition, String scanId) -
LanceInputPartition
public LanceInputPartition(org.apache.spark.sql.types.StructType schema, int partitionId, LanceSplit lanceSplit, LanceConfig config, Optional<String> whereCondition, Optional<Integer> limit, Optional<Integer> offset, Optional<List<com.lancedb.lance.ipc.ColumnOrdering>> topNSortOrders, Optional<org.apache.spark.sql.connector.expressions.aggregate.Aggregation> pushedAggregation, String scanId)
-
-
Method Details
-
getSchema
public org.apache.spark.sql.types.StructType getSchema() -
getPartitionId
public int getPartitionId() -
getLanceSplit
-
getConfig
-
getWhereCondition
-
getLimit
-
getOffset
-
getTopNSortOrders
-
getPushedAggregation
public Optional<org.apache.spark.sql.connector.expressions.aggregate.Aggregation> getPushedAggregation() -
getScanId
-