Tabnine Logo
InsertStatement.getVarCounter
Code IndexAdd Tabnine to your IDE (free)

How to use
getVarCounter
method
in
org.apache.asterix.lang.common.statement.InsertStatement

Best Java code snippets using org.apache.asterix.lang.common.statement.InsertStatement.getVarCounter (Showing top 2 results out of 315)

origin: apache/asterixdb

case INSERT:
  clfrqs = new CompiledInsertStatement(dataverseName, datasetName, rewrittenInsertUpsert.getQuery(),
      rewrittenInsertUpsert.getVarCounter(), rewrittenInsertUpsert.getVar(),
      rewrittenInsertUpsert.getReturnExpression());
  clfrqs.setSourceLocation(insertUpsert.getSourceLocation());
case UPSERT:
  clfrqs = new CompiledUpsertStatement(dataverseName, datasetName, rewrittenInsertUpsert.getQuery(),
      rewrittenInsertUpsert.getVarCounter(), rewrittenInsertUpsert.getVar(),
      rewrittenInsertUpsert.getReturnExpression());
  clfrqs.setSourceLocation(insertUpsert.getSourceLocation());
origin: apache/asterixdb

private static JobSpecification getConnectionJob(MetadataProvider metadataProvider, FeedConnection feedConn,
    IStatementExecutor statementExecutor, IHyracksClientConnection hcc, Boolean insertFeed)
    throws AlgebricksException, RemoteException, ACIDException {
  metadataProvider.getConfig().put(FeedActivityDetails.FEED_POLICY_NAME, feedConn.getPolicyName());
  Query feedConnQuery = makeConnectionQuery(feedConn);
  CompiledStatements.ICompiledDmlStatement clfrqs;
  if (insertFeed) {
    InsertStatement stmtUpsert = new InsertStatement(new Identifier(feedConn.getDataverseName()),
        new Identifier(feedConn.getDatasetName()), feedConnQuery, -1, null, null);
    clfrqs = new CompiledStatements.CompiledInsertStatement(feedConn.getDataverseName(),
        feedConn.getDatasetName(), feedConnQuery, stmtUpsert.getVarCounter(), null, null);
  } else {
    UpsertStatement stmtUpsert = new UpsertStatement(new Identifier(feedConn.getDataverseName()),
        new Identifier(feedConn.getDatasetName()), feedConnQuery, -1, null, null);
    clfrqs = new CompiledStatements.CompiledUpsertStatement(feedConn.getDataverseName(),
        feedConn.getDatasetName(), feedConnQuery, stmtUpsert.getVarCounter(), null, null);
  }
  return statementExecutor.rewriteCompileQuery(hcc, metadataProvider, feedConnQuery, clfrqs, null, null);
}
org.apache.asterix.lang.common.statementInsertStatementgetVarCounter

Popular methods of InsertStatement

  • getDataverseName
  • <init>
  • getDatasetName
  • getQuery
  • getReturnExpression
  • getVar
  • setReturnExpression
  • accept
  • equals
  • getBody
  • getKind
  • getSourceLocation
  • getKind,
  • getSourceLocation,
  • hashCode,
  • setBody

Popular in Java

  • Start an intent from android
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • 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