Tabnine Logo
CatalogSchemaTableName.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
io.prestosql.spi.connector.CatalogSchemaTableName
constructor

Best Java code snippets using io.prestosql.spi.connector.CatalogSchemaTableName.<init> (Showing top 9 results out of 315)

origin: io.prestosql/presto-main

public CatalogSchemaTableName asCatalogSchemaTableName()
{
  return new CatalogSchemaTableName(catalogName, schemaName, objectName);
}
origin: prestosql/presto

public CatalogSchemaTableName asCatalogSchemaTableName()
{
  return new CatalogSchemaTableName(catalogName, schemaName, objectName);
}
origin: io.prestosql/presto-main

if (writerTarget instanceof CreateHandle) {
  CreateHandle createHandle = (CreateHandle) writerTarget;
  context.setOutputTable(new CatalogSchemaTableName(
      createHandle.getHandle().getConnectorId().getCatalogName(),
      createHandle.getSchemaTableName().getSchemaName(),
  context.setOutputTable(new CatalogSchemaTableName(
      insertHandle.getHandle().getConnectorId().getCatalogName(),
      insertHandle.getSchemaTableName().getSchemaName(),
  context.setOutputTable(new CatalogSchemaTableName(
      deleteHandle.getHandle().getConnectorId().getCatalogName(),
      deleteHandle.getSchemaTableName().getSchemaName(),
origin: prestosql/presto

@Override
public Void visitTableScan(TableScanNode node, IOPlanBuilder context)
{
  TableMetadata tableMetadata = metadata.getTableMetadata(session, node.getTable());
  context.addInputTableColumnInfo(new IOPlan.TableColumnInfo(
      new CatalogSchemaTableName(
          tableMetadata.getConnectorId().getCatalogName(),
          tableMetadata.getTable().getSchemaName(),
          tableMetadata.getTable().getTableName()),
      parseConstraints(node.getTable(), node.getCurrentConstraint())));
  return null;
}
origin: io.prestosql/presto-main

@Override
public Void visitTableScan(TableScanNode node, IoPlanBuilder context)
{
  TableMetadata tableMetadata = metadata.getTableMetadata(session, node.getTable());
  context.addInputTableColumnInfo(new IoPlan.TableColumnInfo(
      new CatalogSchemaTableName(
          tableMetadata.getConnectorId().getCatalogName(),
          tableMetadata.getTable().getSchemaName(),
          tableMetadata.getTable().getTableName()),
      parseConstraints(node.getTable(), node.getCurrentConstraint())));
  return null;
}
origin: prestosql/presto

if (writerTarget instanceof CreateHandle) {
  CreateHandle createHandle = (CreateHandle) writerTarget;
  context.setOutputTable(new CatalogSchemaTableName(
      createHandle.getHandle().getConnectorId().getCatalogName(),
      createHandle.getSchemaTableName().getSchemaName(),
  context.setOutputTable(new CatalogSchemaTableName(
      insertHandle.getHandle().getConnectorId().getCatalogName(),
      insertHandle.getSchemaTableName().getSchemaName(),
  context.setOutputTable(new CatalogSchemaTableName(
      deleteHandle.getHandle().getConnectorId().getCatalogName(),
      deleteHandle.getSchemaTableName().getSchemaName(),
origin: prestosql/presto

  @Test
  public void testIOExplain()
  {
    String query = "SELECT * FROM orders";
    MaterializedResult result = computeActual("EXPLAIN (TYPE IO, FORMAT JSON) " + query);
    TableColumnInfo input = new TableColumnInfo(
        new CatalogSchemaTableName("local", "sf0.01", "orders"),
        ImmutableSet.of(
            new ColumnConstraint(
                "orderstatus",
                createVarcharType(1).getTypeSignature(),
                new FormattedDomain(
                    false,
                    ImmutableSet.of(
                        new FormattedRange(
                            new FormattedMarker(Optional.of("F"), EXACTLY),
                            new FormattedMarker(Optional.of("F"), EXACTLY)),
                        new FormattedRange(
                            new FormattedMarker(Optional.of("O"), EXACTLY),
                            new FormattedMarker(Optional.of("O"), EXACTLY)),
                        new FormattedRange(
                            new FormattedMarker(Optional.of("P"), EXACTLY),
                            new FormattedMarker(Optional.of("P"), EXACTLY)))))));
    assertEquals(
        jsonCodec(IOPlan.class).fromJson((String) getOnlyElement(result.getOnlyColumnAsSet())),
        new IOPlan(ImmutableSet.of(input), Optional.empty()));
  }
}
origin: prestosql/presto

new IOPlan(
    ImmutableSet.of(new TableColumnInfo(
        new CatalogSchemaTableName(catalog, "tpch", "test_orders"),
        ImmutableSet.of(
            new ColumnConstraint(
new IOPlan(
    ImmutableSet.of(new TableColumnInfo(
        new CatalogSchemaTableName(catalog, "tpch", "test_orders"),
        ImmutableSet.of(
            new ColumnConstraint(
origin: io.prestosql/presto-hive

new IoPlan(
    ImmutableSet.of(new TableColumnInfo(
        new CatalogSchemaTableName(catalog, "tpch", "test_orders"),
        ImmutableSet.of(
            new ColumnConstraint(
new IoPlan(
    ImmutableSet.of(new TableColumnInfo(
        new CatalogSchemaTableName(catalog, "tpch", "test_orders"),
        ImmutableSet.of(
            new ColumnConstraint(
io.prestosql.spi.connectorCatalogSchemaTableName<init>

Popular methods of CatalogSchemaTableName

  • toString
  • getCatalogName

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JCheckBox (javax.swing)
  • Github Copilot alternatives
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