Class PgCatalog (0.20.0)

public class PgCatalog

Inheritance

java.lang.Object > PgCatalog

Static Fields

PG_TYPE_CTE_EMULATED

public static final String PG_TYPE_CTE_EMULATED
Field Value
TypeDescription
String

Constructors

PgCatalog(SessionState sessionState, ClientAutoDetector.WellKnownClient wellKnownClient)

public PgCatalog(SessionState sessionState, ClientAutoDetector.WellKnownClient wellKnownClient)
Parameters
NameDescription
sessionStateSessionState
wellKnownClientClientAutoDetector.WellKnownClient

Methods

replacePgCatalogTables(Statement statement)

public Statement replacePgCatalogTables(Statement statement)

Replace supported pg_catalog tables with Common Table Expressions.

Parameter
NameDescription
statementcom.google.cloud.spanner.Statement
Returns
TypeDescription
com.google.cloud.spanner.Statement