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

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

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

origin: neo4j/neo4j

@Override
public int getRecordsPerPage()
{
  return actual.getRecordsPerPage();
}
origin: neo4j/neo4j

public BatchingIdGetter( RecordStore<? extends AbstractBaseRecord> source )
{
  this( source, source.getRecordsPerPage() );
}
origin: neo4j/neo4j

StoreScanAsInputIterator( RecordStore<RECORD> store )
{
  this.batchSize = store.getRecordsPerPage() * 10;
  this.highId = store.getHighId();
}
origin: neo4j/neo4j

private static Configuration configWithRecordsPerPageBasedBatchSize( Configuration source, RecordStore<?> store )
{
  return Configuration.withBatchSize( source, store.getRecordsPerPage() * 10 );
}
origin: neo4j/neo4j

@Override
protected <R extends AbstractBaseRecord> RecordStore<R> wrapStore( RecordStore<R> store )
{
  AccessStats accessStats = new AccessStats( store.getClass().getSimpleName(), store.getRecordsPerPage() );
  accessStatistics.register( store, accessStats );
  return new AccessStatsKeepingRecordStore( store, accessStats );
}
origin: neo4j/neo4j

  public void warmUpCache()
  {
    int recordsPerPage = store.getRecordsPerPage();
    long id = 0;
    long half = store.getHighId() / 2;
    RECORD record = store.newRecord();
    while ( id < half )
    {
      store.getRecord( id, record, FORCE );
      id += recordsPerPage - 1;
    }
  }
}
origin: org.neo4j/neo4j-kernel

@Override
public int getRecordsPerPage()
{
  return actual.getRecordsPerPage();
}
origin: org.neo4j/neo4j-kernel

public BatchingIdGetter( RecordStore<? extends AbstractBaseRecord> source )
{
  this( source, source.getRecordsPerPage() );
}
origin: org.neo4j/neo4j-kernel

StoreScanAsInputIterator( RecordStore<RECORD> store )
{
  this.batchSize = store.getRecordsPerPage() * 10;
  this.highId = store.getHighId();
}
origin: org.neo4j/neo4j-kernel

private static Configuration configWithRecordsPerPageBasedBatchSize( Configuration source, RecordStore<?> store )
{
  return Configuration.withBatchSize( source, store.getRecordsPerPage() * 10 );
}
org.neo4j.kernel.impl.storeRecordStoregetRecordsPerPage

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
  • getStorageFile
  • prepareForCommit
    Called once all changes to a record is ready to be converted into a command. WARNING this is for adv
  • getStorageFile,
  • prepareForCommit,
  • accept,
  • addRecord,
  • close,
  • closeRecordStore,
  • deleteRecord,
  • enumerateRecords,
  • flush

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • 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