Codota Logo
FunctionAlias.getSchema
Code IndexAdd Codota to your IDE (free)

How to use
getSchema
method
in
org.h2.engine.FunctionAlias

Best Java code snippets using org.h2.engine.FunctionAlias.getSchema (Showing top 11 results out of 315)

  • Common ways to obtain FunctionAlias
private void myMethod () {
FunctionAlias f =
  • Codota IconDatabase database;String schemaName;String functionAlias;database.getSchema(schemaName).findFunction(functionAlias)
  • Codota IconSchema schema;String functionAlias;schema.findFunction(functionAlias)
  • Codota IconParser parser;String schema;String str;parser.findFunctionAlias(schema, str)
  • Smart code suggestions by Codota
}
origin: com.h2database/h2

@Override
public String getSQL() {
  // TODO can remove this method once FUNCTIONS_IN_SCHEMA is enabled
  if (database.getSettings().functionsInSchema ||
      !getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    return super.getSQL();
  }
  return Parser.quoteIdentifier(getName());
}
origin: com.h2database/h2

@Override
public String getSQL() {
  StatementBuilder buff = new StatementBuilder();
  // TODO always append the schema once FUNCTIONS_IN_SCHEMA is enabled
  if (functionAlias.getDatabase().getSettings().functionsInSchema ||
      !functionAlias.getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    buff.append(
        Parser.quoteIdentifier(functionAlias.getSchema().getName()))
        .append('.');
  }
  buff.append(Parser.quoteIdentifier(functionAlias.getName())).append('(');
  for (Expression e : args) {
    buff.appendExceptFirst(", ");
    buff.append(e.getSQL());
  }
  return buff.append(')').toString();
}
origin: com.h2database/h2

alias.getSchema().getName(),
  alias.getSchema().getName(),
  alias.getSchema().getName(),
origin: apache/ignite

GridSqlFunction res = new GridSqlFunction(alias.getSchema().getName(), f.getName());
origin: org.wowtools/h2

@Override
public String getSQL() {
  // TODO can remove this method once FUNCTIONS_IN_SCHEMA is enabled
  if (database.getSettings().functionsInSchema ||
      !getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    return super.getSQL();
  }
  return Parser.quoteIdentifier(getName());
}
origin: com.eventsourcing/h2

@Override
public String getSQL() {
  // TODO can remove this method once FUNCTIONS_IN_SCHEMA is enabled
  if (database.getSettings().functionsInSchema ||
      !getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    return super.getSQL();
  }
  return Parser.quoteIdentifier(getName());
}
origin: com.eventsourcing/h2

@Override
public String getSQL() {
  StatementBuilder buff = new StatementBuilder();
  // TODO always append the schema once FUNCTIONS_IN_SCHEMA is enabled
  if (functionAlias.getDatabase().getSettings().functionsInSchema ||
      !functionAlias.getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    buff.append(
        Parser.quoteIdentifier(functionAlias.getSchema().getName()))
        .append('.');
  }
  buff.append(Parser.quoteIdentifier(functionAlias.getName())).append('(');
  for (Expression e : args) {
    buff.appendExceptFirst(", ");
    buff.append(e.getSQL());
  }
  return buff.append(')').toString();
}
origin: org.wowtools/h2

@Override
public String getSQL() {
  StatementBuilder buff = new StatementBuilder();
  // TODO always append the schema once FUNCTIONS_IN_SCHEMA is enabled
  if (functionAlias.getDatabase().getSettings().functionsInSchema ||
      !functionAlias.getSchema().getName().equals(Constants.SCHEMA_MAIN)) {
    buff.append(
        Parser.quoteIdentifier(functionAlias.getSchema().getName()))
        .append('.');
  }
  buff.append(Parser.quoteIdentifier(functionAlias.getName())).append('(');
  for (Expression e : args) {
    buff.appendExceptFirst(", ");
    buff.append(e.getSQL());
  }
  return buff.append(')').toString();
}
origin: org.wowtools/h2

alias.getSchema().getName(),
  alias.getSchema().getName(),
  alias.getSchema().getName(),
origin: com.eventsourcing/h2

alias.getSchema().getName(),
  alias.getSchema().getName(),
  alias.getSchema().getName(),
origin: org.apache.ignite/ignite-indexing

GridSqlFunction res = new GridSqlFunction(alias.getSchema().getName(), f.getName());
org.h2.engineFunctionAliasgetSchema

Popular methods of FunctionAlias

  • <init>
  • getId
  • getJavaClassName
  • getMethodSignature
  • getName
  • getSQL
  • invalidate
  • load
  • findJavaMethod
    Find the Java method that matches the arguments.
  • getDatabase
  • getJavaMethods
    Get the Java methods mapped by this function.
  • getSource
  • getJavaMethods,
  • getSource,
  • init,
  • initSchemaObjectBase,
  • isBufferResultSetToLocalTemp,
  • isDeterministic,
  • loadClass,
  • loadFromSource,
  • newInstance

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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