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

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

Best Java code snippets using org.h2.engine.FunctionAlias.setDeterministic (Showing top 3 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 int update() {
  session.commit(true);
  session.getUser().checkAdmin();
  Database db = session.getDatabase();
  if (getSchema().findFunction(aliasName) != null) {
    if (!ifNotExists) {
      throw DbException.get(
          ErrorCode.FUNCTION_ALIAS_ALREADY_EXISTS_1, aliasName);
    }
  } else {
    int id = getObjectId();
    FunctionAlias functionAlias;
    if (javaClassMethod != null) {
      functionAlias = FunctionAlias.newInstance(getSchema(), id,
          aliasName, javaClassMethod, force,
          bufferResultSetToLocalTemp);
    } else {
      functionAlias = FunctionAlias.newInstanceFromSource(
          getSchema(), id, aliasName, source, force,
          bufferResultSetToLocalTemp);
    }
    functionAlias.setDeterministic(deterministic);
    db.addSchemaObject(session, functionAlias);
  }
  return 0;
}
origin: org.wowtools/h2

@Override
public int update() {
  session.commit(true);
  session.getUser().checkAdmin();
  Database db = session.getDatabase();
  if (getSchema().findFunction(aliasName) != null) {
    if (!ifNotExists) {
      throw DbException.get(
          ErrorCode.FUNCTION_ALIAS_ALREADY_EXISTS_1, aliasName);
    }
  } else {
    int id = getObjectId();
    FunctionAlias functionAlias;
    if (javaClassMethod != null) {
      functionAlias = FunctionAlias.newInstance(getSchema(), id,
          aliasName, javaClassMethod, force,
          bufferResultSetToLocalTemp);
    } else {
      functionAlias = FunctionAlias.newInstanceFromSource(
          getSchema(), id, aliasName, source, force,
          bufferResultSetToLocalTemp);
    }
    functionAlias.setDeterministic(deterministic);
    db.addSchemaObject(session, functionAlias);
  }
  return 0;
}
origin: com.eventsourcing/h2

@Override
public int update() {
  session.commit(true);
  session.getUser().checkAdmin();
  Database db = session.getDatabase();
  if (getSchema().findFunction(aliasName) != null) {
    if (!ifNotExists) {
      throw DbException.get(
          ErrorCode.FUNCTION_ALIAS_ALREADY_EXISTS_1, aliasName);
    }
  } else {
    int id = getObjectId();
    FunctionAlias functionAlias;
    if (javaClassMethod != null) {
      functionAlias = FunctionAlias.newInstance(getSchema(), id,
          aliasName, javaClassMethod, force,
          bufferResultSetToLocalTemp);
    } else {
      functionAlias = FunctionAlias.newInstanceFromSource(
          getSchema(), id, aliasName, source, force,
          bufferResultSetToLocalTemp);
    }
    functionAlias.setDeterministic(deterministic);
    db.addSchemaObject(session, functionAlias);
  }
  return 0;
}
org.h2.engineFunctionAliassetDeterministic

Popular methods of FunctionAlias

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JOptionPane (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Table (org.hibernate.mapping)
    A relational table
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