Codota Logo
JdbcTable.tableName
Code IndexAdd Codota to your IDE (free)

How to use
tableName
method
in
org.apache.calcite.adapter.jdbc.JdbcTable

Best Java code snippets using org.apache.calcite.adapter.jdbc.JdbcTable.tableName (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: tzolov/calcite-sql-rewriter

static String getTableName(JdbcTable table) {
  // tableName is: [catalog,] [schema,] table
  SqlIdentifier identifier = table.tableName();
  return identifier.names.get(identifier.names.size() - 1);
}
origin: org.apache.calcite/calcite-core

/** @see #dispatch */
public Result visit(JdbcTableScan scan) {
 return result(scan.jdbcTable.tableName(),
   ImmutableList.of(Clause.FROM), scan, null);
}
origin: Qihoo360/Quicksql

 public JdbcImplementor.Result implement(JdbcImplementor implementor) {
  return implementor.result(jdbcTable.tableName(),
    ImmutableList.of(JdbcImplementor.Clause.FROM), this, null);
 }
}
origin: Qihoo360/Quicksql

/** @see #dispatch */
public Result visit(JdbcTableScan scan) {
 return result(scan.jdbcTable.tableName(),
   ImmutableList.of(Clause.FROM), scan, null);
}
origin: org.apache.calcite/calcite-core

 public JdbcImplementor.Result implement(JdbcImplementor implementor) {
  return implementor.result(jdbcTable.tableName(),
    ImmutableList.of(JdbcImplementor.Clause.FROM), this, null);
 }
}
origin: org.apache.calcite/calcite-core

SqlString generateSql() {
 final SqlNodeList selectList =
   new SqlNodeList(
     Collections.singletonList(SqlIdentifier.star(SqlParserPos.ZERO)),
     SqlParserPos.ZERO);
 SqlSelect node =
   new SqlSelect(SqlParserPos.ZERO, SqlNodeList.EMPTY, selectList,
     tableName(), null, null, null, null, null, null, null);
 final SqlPrettyWriter writer = new SqlPrettyWriter(jdbcSchema.dialect);
 node.unparse(writer, 0, 0);
 return writer.toSqlString();
}
origin: Qihoo360/Quicksql

SqlString generateSql() {
 final SqlNodeList selectList =
   new SqlNodeList(
     Collections.singletonList(SqlIdentifier.star(SqlParserPos.ZERO)),
     SqlParserPos.ZERO);
 SqlSelect node =
   new SqlSelect(SqlParserPos.ZERO, SqlNodeList.EMPTY, selectList,
     tableName(), null, null, null, null, null, null, null);
 final SqlPrettyWriter writer = new SqlPrettyWriter(jdbcSchema.dialect);
 node.unparse(writer, 0, 0);
 return writer.toSqlString();
}
org.apache.calcite.adapter.jdbcJdbcTabletableName

Popular methods of JdbcTable

  • <init>
  • fieldClasses
  • generateSql
  • getJdbcTableType
  • toRel

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now