congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RecordStore.accept
Code IndexAdd Tabnine to your IDE (free)

How to use
accept
method
in
org.neo4j.kernel.impl.store.RecordStore

Best Java code snippets using org.neo4j.kernel.impl.store.RecordStore.accept (Showing top 4 results out of 315)

origin: neo4j/neo4j

@Override
public <FAILURE extends Exception> void accept( Processor<FAILURE> processor, R record ) throws FAILURE
{
  actual.accept( processor, record );
}
origin: neo4j/neo4j

  private <R extends AbstractBaseRecord> void apply( RecordStore<R> store, ProgressListener progressListener,
      Predicate<? super R>... filters ) throws FAILURE
  {
    ResourceIterable<R> iterable = Scanner.scan( store, true, filters );
    try ( ResourceIterator<R> scan = iterable.iterator() )
    {
      while ( scan.hasNext() )
      {
        R record = scan.next();
        if ( shouldStop )
        {
          break;
        }
        store.accept( this, record );
        progressListener.set( record.getId() );
      }
      progressListener.done();
    }
  }
}
origin: org.neo4j/neo4j-kernel

@Override
public <FAILURE extends Exception> void accept( Processor<FAILURE> processor, R record ) throws FAILURE
{
  actual.accept( processor, record );
}
origin: org.neo4j/neo4j-kernel

  private <R extends AbstractBaseRecord> void apply( RecordStore<R> store, ProgressListener progressListener,
      Predicate<? super R>... filters ) throws FAILURE
  {
    ResourceIterable<R> iterable = Scanner.scan( store, true, filters );
    try ( ResourceIterator<R> scan = iterable.iterator() )
    {
      while ( scan.hasNext() )
      {
        R record = scan.next();
        if ( shouldStop )
        {
          break;
        }
        store.accept( this, record );
        progressListener.set( record.getId() );
      }
      progressListener.done();
    }
  }
}
org.neo4j.kernel.impl.storeRecordStoreaccept

Javadoc

Lets record be processed by Processor.

Popular methods of RecordStore

  • getRecord
    Utility methods for reading records. These are not on the interface itself since it should be an exp
  • getHighId
  • newRecord
  • updateRecord
    Updates this store with the contents of record at the record id AbstractBaseRecord#getId() by the re
  • getRecordSize
  • nextId
  • getRecordDataSize
  • setHighestPossibleIdInUse
    Sets highest id in use for this store. This is for when records are applied to this store where the
  • ensureHeavy
    For stores that have other stores coupled underneath, the "top level" record will have a flag saying
  • getNumberOfReservedLowIds
    Some stores may have meta data stored in the header of the store file. Since all records in a store
  • getRecordsPerPage
  • getStorageFile
  • getRecordsPerPage,
  • getStorageFile,
  • prepareForCommit,
  • addRecord,
  • close,
  • closeRecordStore,
  • deleteRecord,
  • enumerateRecords,
  • flush

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 12 Jupyter Notebook extensions
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