[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class PslScanBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/pubsublite-spark-sql-streaming/latest/com.google.cloud.pubsublite.spark.PslScanBuilder)\n- [0.4.5](/java/docs/reference/pubsublite-spark-sql-streaming/0.4.5/com.google.cloud.pubsublite.spark.PslScanBuilder)\n- [0.3.4](/java/docs/reference/pubsublite-spark-sql-streaming/0.3.4/com.google.cloud.pubsublite.spark.PslScanBuilder) \n\n public class PslScanBuilder implements ScanBuilder, Scan, SupportsReportStatistics\n\nBoth Scan and ScanBuilder implementation, otherwise estimateStatistics() is not called due to bug\nin DataSourceV2Relation.\n\nInformation from\n\u003chttps://github.com/GoogleCloudDataproc/spark-bigquery-connector/blob/b0b2a8add37bd044e5a9976ce635bb4230957f29/spark-bigquery-dsv2/spark-3.1-bigquery/src/main/java/com/google/cloud/spark/bigquery/v2/BigQueryScanBuilder.java#L30\u003e \n\nInheritance\n-----------\n\njava.lang.Object \\\u003e PslScanBuilder \n\nImplements\n----------\n\norg.apache.spark.sql.connector.read.ScanBuilder, org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.SupportsReportStatistics \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### PslScanBuilder(PslReadDataSourceOptions options)\n\n public PslScanBuilder(PslReadDataSourceOptions options)\n\nMethods\n-------\n\n### build()\n\n public Scan build()\n\n### description()\n\n public String description()\n\n### estimateStatistics()\n\n public Statistics estimateStatistics()\n\n### readSchema()\n\n public StructType readSchema()\n\n### toContinuousStream(String checkpointLocation)\n\n public ContinuousStream toContinuousStream(String checkpointLocation)\n\n### toMicroBatchStream(String checkpointLocation)\n\n public MicroBatchStream toMicroBatchStream(String checkpointLocation)"]]