Codota Logo
ReflectiveSchema.getTable
Code IndexAdd Codota to your IDE (free)

How to use
getTable
method
in
net.hydromatic.optiq.impl.java.ReflectiveSchema

Best Java code snippets using net.hydromatic.optiq.impl.java.ReflectiveSchema.getTable (Showing top 1 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: net.hydromatic/optiq

 public Schema create(
   MutableSchema parentSchema,
   String name,
   Map<String, Object> operand) {
  final ReflectiveSchema schema =
    ReflectiveSchema.create(parentSchema, name, new HrSchema());
  // Mine the EMPS table and add it under another name e.g. ELVIS
  final Table table = schema.getTable("emps", Object.class);
  String tableName = (String) operand.get("tableName");
  schema.addTable(
    new TableInSchemaImpl(
      schema, tableName, Schema.TableType.TABLE, table));
  final Boolean mutable = (Boolean) operand.get("mutable");
  if (mutable == null || mutable) {
   return schema;
  } else {
   // Wrap the schema in DelegatingSchema so that it does not
   // implement MutableSchema.
   return new DelegatingSchema(schema);
  }
 }
}
net.hydromatic.optiq.impl.javaReflectiveSchemagetTable

Popular methods of ReflectiveSchema

  • <init>
    Creates a ReflectiveSchema.
  • create
    Creates a ReflectiveSchema within another schema.
  • fieldRelation
    Returns a table based on a particular field of this schema. If the field is not of the right type to
  • getElementType
    Deduces the element type of a collection; same logic as #toEnumerable
  • getExpression
  • getTargetExpression
    Returns an expression for the object wrapped by this schema (not the schema itself).
  • addTable
  • getQueryProvider
  • getTableMap
  • getTarget
    Returns the wrapped object. (May not appear to be used, but is used in generated code via BuiltinMet
  • methodMember
  • toEnumerable
  • methodMember,
  • toEnumerable

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Path (java.nio.file)
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JFrame (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