Codota Logo
ViewIndex.initBaseIndex
Code IndexAdd Codota to your IDE (free)

How to use
initBaseIndex
method
in
org.h2.index.ViewIndex

Best Java code snippets using org.h2.index.ViewIndex.initBaseIndex (Showing top 8 results out of 315)

  • Common ways to obtain ViewIndex
private void myMethod () {
ViewIndex v =
  • Codota IconTableView tableView;String querySQL;ArrayList originalParameters;new ViewIndex(tableView, querySQL, originalParameters, recursive)
  • Smart code suggestions by Codota
}
origin: com.h2database/h2

/**
 * Constructor for the original index in {@link TableView}.
 *
 * @param view the table view
 * @param querySQL the query SQL
 * @param originalParameters the original parameters
 * @param recursive if the view is recursive
 */
public ViewIndex(TableView view, String querySQL,
    ArrayList<Parameter> originalParameters, boolean recursive) {
  initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
  this.view = view;
  this.querySQL = querySQL;
  this.originalParameters = originalParameters;
  this.recursive = recursive;
  columns = new Column[0];
  this.createSession = null;
  this.indexMasks = null;
  // this is a main index of TableView, it does not need eviction time
  // stamp
  evaluatedAt = Long.MIN_VALUE;
}
origin: com.h2database/h2

initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
this.view = view;
this.querySQL = index.querySQL;
origin: com.h2database/com.springsource.org.h2

public ViewIndex(TableView view, String querySQL, ObjectArray originalParameters, boolean recursive) {
  initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
  this.querySQL = querySQL;
  this.originalParameters = originalParameters;
  this.recursive = recursive;
  columns = new Column[0];
}
origin: org.wowtools/h2

/**
 * Constructor for the original index in {@link TableView}.
 *
 * @param view the table view
 * @param querySQL the query SQL
 * @param originalParameters the original parameters
 * @param recursive if the view is recursive
 */
public ViewIndex(TableView view, String querySQL,
    ArrayList<Parameter> originalParameters, boolean recursive) {
  initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
  this.view = view;
  this.querySQL = querySQL;
  this.originalParameters = originalParameters;
  this.recursive = recursive;
  columns = new Column[0];
  this.createSession = null;
  this.indexMasks = null;
  // this is a main index of TableView, it does not need eviction time
  // stamp
  evaluatedAt = Long.MIN_VALUE;
}
origin: com.eventsourcing/h2

/**
 * Constructor for the original index in {@link TableView}.
 *
 * @param view the table view
 * @param querySQL the query SQL
 * @param originalParameters the original parameters
 * @param recursive if the view is recursive
 */
public ViewIndex(TableView view, String querySQL,
    ArrayList<Parameter> originalParameters, boolean recursive) {
  initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
  this.view = view;
  this.querySQL = querySQL;
  this.originalParameters = originalParameters;
  this.recursive = recursive;
  columns = new Column[0];
  this.createSession = null;
  this.indexMasks = null;
  // this is a main index of TableView, it does not need eviction time
  // stamp
  evaluatedAt = Long.MIN_VALUE;
}
origin: com.h2database/com.springsource.org.h2

public ViewIndex(TableView view, ViewIndex index, Session session, int[] masks) throws SQLException {
  initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
  this.querySQL = index.querySQL;
  this.originalParameters = index.originalParameters;
  this.recursive = index.recursive;
  this.masks = masks;
  this.session = session;
  columns = new Column[0];
  query = getQuery(session, masks);
  planSQL =  query.getPlanSQL();
}
origin: com.eventsourcing/h2

initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
this.view = view;
this.querySQL = index.querySQL;
origin: org.wowtools/h2

initBaseIndex(view, 0, null, null, IndexType.createNonUnique(false));
this.view = view;
this.querySQL = index.querySQL;
org.h2.indexViewIndexinitBaseIndex

Popular methods of ViewIndex

  • getQuery
  • <init>
    Constructor for plan item generation. Over this index the query will be executed.
  • getCost
  • getSession
  • setRecursive
  • compareRows
  • find
  • findRecursive
  • getTable
  • isExpired
  • isRecursive
  • prepareSubQuery
  • isRecursive,
  • prepareSubQuery,
  • setParameter,
  • setupQueryParameters

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
  • findViewById (Activity)
  • Path (java.nio.file)
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JButton (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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