public static class PgCatalogMetadataStore.FunctionMethods extends Object
Constructor and Description |
---|
FunctionMethods() |
public static ClobType encode(BlobType value, String encoding) throws SQLException, IOException
SQLException
IOException
public static String postgisLibVersion()
public static String postgisVersion()
public static String postgisGeosVersion()
public static String postgisProjVersion()
public static Integer getOid(CommandContext cc, String uid)
public static String pg_client_encoding(CommandContext cc)
public static Integer regClass(CommandContext cc, String name) throws TeiidComponentException, QueryResolverException, ParseException
public static String objDescription(CommandContext cc, int oid)
public static String getUserById(int user)
public static boolean hasSchemaPrivilege(CommandContext cc, String name, String privilege)
public static boolean hasTablePrivilege(CommandContext cc, String name, String privilege)
public static String currentSchema(CommandContext cc)
public static String formatType(CommandContext cc, int oid, int typmod) throws SQLException
SQLException
public static String colDescription(CommandContext cc, int oid, int column_number)
public static boolean pgHasRole(CommandContext cc, int userOid, String privilege)
public static BlobType asBinary2(GeometryType geom, String encoding) throws FunctionExecutionException
FunctionExecutionException
public static BlobType asBinary3(GeographyType geog, String encoding) throws FunctionExecutionException
FunctionExecutionException
public static boolean pg_table_is_visible(int oid) throws FunctionExecutionException
FunctionExecutionException
public static String pg_get_constraintdef(CommandContext cc, int oid, boolean pretty) throws SQLException
SQLException
public static boolean pg_type_is_visible(int oid) throws FunctionExecutionException
FunctionExecutionException
public static String version()
public static String pg_encoding_to_char(int code)
public static String[] current_schemas(CommandContext cc, boolean include_implicit)
public static String pg_get_indexdef(CommandContext cc, int index_oid, short column_no, boolean pretty_bool) throws TeiidSQLException, SQLException
TeiidSQLException
SQLException
Copyright © 2019. All rights reserved.