[[["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,["# Interface PartitionCountReader (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.internal.PartitionCountReader)\n- [0.4.5](/java/docs/reference/pubsublite-spark-sql-streaming/0.4.5/com.google.cloud.pubsublite.spark.internal.PartitionCountReader)\n- [0.3.4](/java/docs/reference/pubsublite-spark-sql-streaming/0.3.4/com.google.cloud.pubsublite.spark.internal.PartitionCountReader) \n\n public interface PartitionCountReader extends Closeable\n\nImplements\n----------\n\n[Closeable](https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html)\n\nMethods\n-------\n\n### close()\n\n public abstract void close()\n\n### getPartitionCount()\n\n public abstract int getPartitionCount()"]]