congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewIndex.initBaseIndex
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Kernel (java.awt.image)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Top plugins for WebStorm
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