Tabnine Logo
CatalogSchemaTableName.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
io.prestosql.spi.connector.CatalogSchemaTableName

Best Java code snippets using io.prestosql.spi.connector.CatalogSchemaTableName.toString (Showing top 16 results out of 315)

origin: prestosql/presto

/**
 * Check if identity is allowed to rename the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanRenameTable(Identity identity, CatalogSchemaTableName table, CatalogSchemaTableName newTable)
{
  denyRenameTable(table.toString(), newTable.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to add columns to the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanAddColumn(Identity identity, CatalogSchemaTableName table)
{
  denyAddColumn(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to drop the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanDropTable(Identity identity, CatalogSchemaTableName table)
{
  denyDropTable(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to select from the specified columns in a relation.  The column set can be empty.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
{
  denySelectColumns(table.toString(), columns);
}
origin: prestosql/presto

/**
 * Check if identity is allowed to create the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanCreateTable(Identity identity, CatalogSchemaTableName table)
{
  denyCreateTable(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to create a view that selects from the specified columns in a relation.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanCreateViewWithSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
{
  denyCreateViewWithSelect(table.toString(), identity);
}
origin: prestosql/presto

/**
 * Check if identity is allowed to rename a column in the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanRenameColumn(Identity identity, CatalogSchemaTableName table)
{
  denyRenameColumn(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to insert into the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanInsertIntoTable(Identity identity, CatalogSchemaTableName table)
{
  denyInsertTable(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to drop the specified view in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanDropView(Identity identity, CatalogSchemaTableName view)
{
  denyDropView(view.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to drop columns from the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanDropColumn(Identity identity, CatalogSchemaTableName table)
{
  denyDropColumn(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to delete from the specified table in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanDeleteFromTable(Identity identity, CatalogSchemaTableName table)
{
  denyDeleteTable(table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to create the specified view in a catalog.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanCreateView(Identity identity, CatalogSchemaTableName view)
{
  denyCreateView(view.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to grant the specified privilege to the grantee on the specified table.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanGrantTablePrivilege(Identity identity, Privilege privilege, CatalogSchemaTableName table, PrestoPrincipal grantee, boolean withGrantOption)
{
  denyGrantTablePrivilege(privilege.toString(), table.toString());
}
origin: prestosql/presto

/**
 * Check if identity is allowed to revoke the specified privilege on the specified table from the revokee.
 *
 * @throws AccessDeniedException if not allowed
 */
default void checkCanRevokeTablePrivilege(Identity identity, Privilege privilege, CatalogSchemaTableName table, PrestoPrincipal revokee, boolean grantOptionFor)
{
  denyRevokeTablePrivilege(privilege.toString(), table.toString());
}
origin: io.prestosql/presto-main

@Override
public void checkCanSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
{
  if (table.getCatalogName().equals("secured_catalog")) {
    denySelectTable(table.toString());
  }
}
origin: prestosql/presto

@Override
public void checkCanSelectFromColumns(Identity identity, CatalogSchemaTableName table, Set<String> columns)
{
  if (table.getCatalogName().equals("secured_catalog")) {
    denySelectTable(table.toString());
  }
}
io.prestosql.spi.connectorCatalogSchemaTableNametoString

Popular methods of CatalogSchemaTableName

  • <init>
  • getCatalogName

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Kernel (java.awt.image)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now