Class PgCatalog (0.25.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, String lowerCaseSql)

public Statement replacePgCatalogTables(Statement statement, String lowerCaseSql)

Replace supported pg_catalog tables with Common Table Expressions.

Parameters
NameDescription
statementcom.google.cloud.spanner.Statement
lowerCaseSqlString
Returns
TypeDescription
com.google.cloud.spanner.Statement