Class PslTableProvider (1.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class PslTableProvider implements TableProvider, DataSourceRegister
Inheritance
java.lang.Object >
PslTableProvider
Implements
org.apache.spark.sql.connector.catalog.TableProvider,
org.apache.spark.sql.sources.DataSourceRegister
Constructors
PslTableProvider()
public PslTableProvider()
Methods
public Table getTable(StructType structType, Transform[] transforms, Map<String,String> map)
Parameters |
Name |
Description |
structType |
org.apache.spark.sql.types.StructType
|
transforms |
org.apache.spark.sql.connector.expressions.Transform[]
|
map |
Map<String,String>
|
Returns |
Type |
Description |
org.apache.spark.sql.connector.catalog.Table |
|
inferSchema(CaseInsensitiveStringMap caseInsensitiveStringMap)
public StructType inferSchema(CaseInsensitiveStringMap caseInsensitiveStringMap)
Parameter |
Name |
Description |
caseInsensitiveStringMap |
org.apache.spark.sql.util.CaseInsensitiveStringMap
|
Returns |
Type |
Description |
org.apache.spark.sql.types.StructType |
|
shortName()
public String shortName()
Returns |
Type |
Description |
String |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["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 PslTableProvider (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.PslTableProvider)\n- [0.4.5](/java/docs/reference/pubsublite-spark-sql-streaming/0.4.5/com.google.cloud.pubsublite.spark.PslTableProvider)\n- [0.3.4](/java/docs/reference/pubsublite-spark-sql-streaming/0.3.4/com.google.cloud.pubsublite.spark.PslTableProvider) \n\n public class PslTableProvider implements TableProvider, DataSourceRegister\n\nInheritance\n-----------\n\njava.lang.Object \\\u003e PslTableProvider \n\nImplements\n----------\n\norg.apache.spark.sql.connector.catalog.TableProvider, org.apache.spark.sql.sources.DataSourceRegister \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### PslTableProvider()\n\n public PslTableProvider()\n\nMethods\n-------\n\n### getTable(StructType structType, Transform\\[\\] transforms, Map\\\u003cString,String\\\u003e map)\n\n public Table getTable(StructType structType, Transform[] transforms, Map\u003cString,String\u003e map)\n\n### inferSchema(CaseInsensitiveStringMap caseInsensitiveStringMap)\n\n public StructType inferSchema(CaseInsensitiveStringMap caseInsensitiveStringMap)\n\n### shortName()\n\n public String shortName()"]]