congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Cursor.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.h2.mvstore.Cursor
constructor

Best Java code snippets using org.h2.mvstore.Cursor.<init> (Showing top 16 results out of 315)

origin: com.h2database/h2

/**
 * Iterate over a number of keys.
 *
 * @param from the first key to return
 * @return the iterator
 */
public Iterator<K> keyIterator(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: com.h2database/h2

/**
 * Get a cursor to iterate over a number of keys and values.
 *
 * @param from the first key to return
 * @return the cursor
 */
public Cursor<K, V> cursor(K from) {
  return new Cursor<>(this, root, from);
}
origin: com.h2database/h2

@Override
public Iterator<K> iterator() {
  return new Cursor<K, V>(map, root, null);
}
origin: com.h2database/h2

@Override
public Iterator<Entry<K, V>> iterator() {
  final Cursor<K, V> cursor = new Cursor<>(map, root, null);
  return new Iterator<Entry<K, V>>() {
    @Override
    public boolean hasNext() {
      return cursor.hasNext();
    }
    @Override
    public Entry<K, V> next() {
      K k = cursor.next();
      return new DataUtils.MapEntry<>(k, cursor.getValue());
    }
    @Override
    public void remove() {
      throw DataUtils.newUnsupportedOperationException(
          "Removing is not supported");
    }
  };
}
origin: com.eventsourcing/h2

/**
 * Iterate over a number of keys.
 *
 * @param from the first key to return
 * @return the iterator
 */
public Iterator<K> keyIterator(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: org.wowtools/h2

/**
 * Iterate over a number of keys.
 *
 * @param from the first key to return
 * @return the iterator
 */
public Iterator<K> keyIterator(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: com.h2database/h2-mvstore

/**
 * Get a cursor to iterate over a number of keys and values.
 *
 * @param from the first key to return
 * @return the cursor
 */
public Cursor<K, V> cursor(K from) {
  return new Cursor<>(this, root, from);
}
origin: com.h2database/h2-mvstore

/**
 * Iterate over a number of keys.
 *
 * @param from the first key to return
 * @return the iterator
 */
public Iterator<K> keyIterator(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: org.wowtools/h2

/**
 * Get a cursor to iterate over a number of keys and values.
 *
 * @param from the first key to return
 * @return the cursor
 */
public Cursor<K, V> cursor(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: com.eventsourcing/h2

@Override
public Iterator<K> iterator() {
  return new Cursor<K, V>(map, root, null);
}
origin: org.wowtools/h2

@Override
public Iterator<K> iterator() {
  return new Cursor<K, V>(map, root, null);
}
origin: com.eventsourcing/h2

/**
 * Get a cursor to iterate over a number of keys and values.
 *
 * @param from the first key to return
 * @return the cursor
 */
public Cursor<K, V> cursor(K from) {
  return new Cursor<K, V>(this, root, from);
}
origin: com.h2database/h2-mvstore

@Override
public Iterator<K> iterator() {
  return new Cursor<K, V>(map, root, null);
}
origin: com.h2database/h2-mvstore

@Override
public Iterator<Entry<K, V>> iterator() {
  final Cursor<K, V> cursor = new Cursor<>(map, root, null);
  return new Iterator<Entry<K, V>>() {
    @Override
    public boolean hasNext() {
      return cursor.hasNext();
    }
    @Override
    public Entry<K, V> next() {
      K k = cursor.next();
      return new DataUtils.MapEntry<>(k, cursor.getValue());
    }
    @Override
    public void remove() {
      throw DataUtils.newUnsupportedOperationException(
          "Removing is not supported");
    }
  };
}
origin: org.wowtools/h2

@Override
public Iterator<Entry<K, V>> iterator() {
  final Cursor<K, V> cursor = new Cursor<K, V>(map, root, null);
  return new Iterator<Entry<K, V>>() {
    @Override
    public boolean hasNext() {
      return cursor.hasNext();
    }
    @Override
    public Entry<K, V> next() {
      K k = cursor.next();
      return new DataUtils.MapEntry<K, V>(k, cursor.getValue());
    }
    @Override
    public void remove() {
      throw DataUtils.newUnsupportedOperationException(
          "Removing is not supported");
    }
  };
}
origin: com.eventsourcing/h2

@Override
public Iterator<Entry<K, V>> iterator() {
  final Cursor<K, V> cursor = new Cursor<K, V>(map, root, null);
  return new Iterator<Entry<K, V>>() {
    @Override
    public boolean hasNext() {
      return cursor.hasNext();
    }
    @Override
    public Entry<K, V> next() {
      K k = cursor.next();
      return new DataUtils.MapEntry<K, V>(k, cursor.getValue());
    }
    @Override
    public void remove() {
      throw DataUtils.newUnsupportedOperationException(
          "Removing is not supported");
    }
  };
}
org.h2.mvstoreCursor<init>

Popular methods of Cursor

  • getValue
    Get the last read value if there was one.
  • hasNext
  • next
  • fetchNext
    Fetch the next entry if there is one.
  • getPage
  • min
    Fetch the next entry that is equal or larger than the given key, starting from the given page. This

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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