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

How to use
com.facebook.presto.sql.tree.RenameColumn
constructor

Best Java code snippets using com.facebook.presto.sql.tree.RenameColumn.<init> (Showing top 6 results out of 315)

origin: prestodb/presto

@Override
public Node visitRenameColumn(SqlBaseParser.RenameColumnContext context)
{
  return new RenameColumn(
      getLocation(context),
      getQualifiedName(context.tableName),
      (Identifier) visit(context.from),
      (Identifier) visit(context.to));
}
origin: prestodb/presto

@Test
public void testRenameColumn()
{
  assertStatement("ALTER TABLE foo.t RENAME COLUMN a TO b", new RenameColumn(QualifiedName.of("foo", "t"), identifier("a"), identifier("b")));
}
origin: uk.co.nichesolutions.presto/presto-parser

@Override
public Node visitRenameColumn(SqlBaseParser.RenameColumnContext context)
{
  return new RenameColumn(getLocation(context), getQualifiedName(context.tableName), context.from.getText(), context.to.getText());
}
origin: com.facebook.presto/presto-parser

@Override
public Node visitRenameColumn(SqlBaseParser.RenameColumnContext context)
{
  return new RenameColumn(
      getLocation(context),
      getQualifiedName(context.tableName),
      (Identifier) visit(context.from),
      (Identifier) visit(context.to));
}
origin: uk.co.nichesolutions.presto/presto-parser

@Test
public void testRenameColumn()
    throws Exception
{
  assertStatement("ALTER TABLE foo.t RENAME COLUMN a TO b", new RenameColumn(QualifiedName.of("foo", "t"), "a", "b"));
}
origin: com.facebook.presto/presto-parser

@Test
public void testRenameColumn()
{
  assertStatement("ALTER TABLE foo.t RENAME COLUMN a TO b", new RenameColumn(QualifiedName.of("foo", "t"), identifier("a"), identifier("b")));
}
com.facebook.presto.sql.treeRenameColumn<init>

Popular methods of RenameColumn

  • getSource
  • getTable
  • getTarget

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
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