Skip navigation links
A C G H I K L M N O P R S T V W 

A

Adapter() - Constructor for class org.neo4j.index.internal.gbptree.Layout.Adapter
 
Adaptor() - Constructor for class org.neo4j.index.internal.gbptree.GBPTree.Monitor.Adaptor
 

C

checkpoint(IOLimiter, Consumer<PageCursor>) - Method in class org.neo4j.index.internal.gbptree.GBPTree
Checkpoints and flushes any pending changes to storage.
checkpoint(IOLimiter) - Method in class org.neo4j.index.internal.gbptree.GBPTree
Performs a check point, keeping any header information written in previous check point.
checkpointCompleted() - Method in class org.neo4j.index.internal.gbptree.GBPTree.Monitor.Adaptor
 
checkpointCompleted() - Method in interface org.neo4j.index.internal.gbptree.GBPTree.Monitor
Called when a GBPTree.checkpoint(IOLimiter) has been completed, but right before writers are re-enabled.
cleanupFinished(long, long, long) - Method in class org.neo4j.index.internal.gbptree.GBPTree.Monitor.Adaptor
 
cleanupFinished(long, long, long) - Method in interface org.neo4j.index.internal.gbptree.GBPTree.Monitor
Called after recovery has completed and cleaning has been done.
close() - Method in class org.neo4j.index.internal.gbptree.GBPTree
Closes this tree and its associated resources.
copyKey(KEY, KEY) - Method in interface org.neo4j.index.internal.gbptree.Layout
Copies contents of key to into.

G

GBPTree<KEY,VALUE> - Class in org.neo4j.index.internal.gbptree
A generation-aware B+tree (GB+Tree) implementation directly atop a PageCache with no caching in between.
GBPTree(PageCache, File, Layout<KEY, VALUE>, int, GBPTree.Monitor, Header.Reader, Consumer<PageCursor>) - Constructor for class org.neo4j.index.internal.gbptree.GBPTree
Opens an index indexFile in the pageCache, creating and initializing it if it doesn't exist.
GBPTree.Monitor - Interface in org.neo4j.index.internal.gbptree
For monitoring GBPTree.
GBPTree.Monitor.Adaptor - Class in org.neo4j.index.internal.gbptree
Adapter for GBPTree.Monitor.

H

Header - Class in org.neo4j.index.internal.gbptree
Defines interfaces and common implementations of header reader/writer for GBPTree.
Header() - Constructor for class org.neo4j.index.internal.gbptree.Header
 
Header.Reader - Interface in org.neo4j.index.internal.gbptree
Reads a header from a GBPTree state page during opening it.
Header.Writer - Interface in org.neo4j.index.internal.gbptree
Writes a header into a GBPTree state page during GBPTree.checkpoint(org.neo4j.io.pagecache.IOLimiter).
Hit<KEY,VALUE> - Interface in org.neo4j.index.internal.gbptree
Represents a hit during an GBPTree.seek(Object, Object).

I

identifier() - Method in interface org.neo4j.index.internal.gbptree.Layout
Used as a checksum for when loading an index after creation, to verify that the same layout is used, as the one it was initially created with.
IdSpace - Class in org.neo4j.index.internal.gbptree
Defines special page ids for GBPTree.
IdSpace() - Constructor for class org.neo4j.index.internal.gbptree.IdSpace
 

K

keepExisting() - Static method in class org.neo4j.index.internal.gbptree.ValueMergers
 
key() - Method in interface org.neo4j.index.internal.gbptree.Hit
 
keySize() - Method in interface org.neo4j.index.internal.gbptree.Layout
 

L

Layout<KEY,VALUE> - Interface in org.neo4j.index.internal.gbptree
Main point of interaction for customizing a GBPTree, how its keys and values are represented as bytes and what keys and values contains.
Layout.Adapter<KEY,VALUE> - Class in org.neo4j.index.internal.gbptree
Adapter for Layout, which contains convenient standard implementations of some methods.

M

majorVersion() - Method in interface org.neo4j.index.internal.gbptree.Layout
 
merge(VALUE, VALUE) - Method in interface org.neo4j.index.internal.gbptree.ValueMerger
Merge an existing value with a new value, returning potentially a combination of the two, or null if no merge was done effectively meaning that nothing should be written.
merge(KEY, VALUE, ValueMerger<VALUE>) - Method in interface org.neo4j.index.internal.gbptree.Writer
If the key doesn't already exist in the index the key will be added and the value associated with it.
META_PAGE_ID - Static variable in class org.neo4j.index.internal.gbptree.IdSpace
Page id of the meta page holding information about root id and custom user meta information.
MetadataMismatchException - Exception in org.neo4j.index.internal.gbptree
Thrown to signal mismatches between meta data about tree and user-provided configuration.
minorVersion() - Method in interface org.neo4j.index.internal.gbptree.Layout
 

N

namedIdentifier(String, int) - Static method in interface org.neo4j.index.internal.gbptree.Layout
Utility method for generating an Layout.identifier().
newKey() - Method in interface org.neo4j.index.internal.gbptree.Layout
 
newValue() - Method in interface org.neo4j.index.internal.gbptree.Layout
 
NO_MONITOR - Static variable in class org.neo4j.index.internal.gbptree.GBPTree
noStoreFile() - Method in class org.neo4j.index.internal.gbptree.GBPTree.Monitor.Adaptor
 
noStoreFile() - Method in interface org.neo4j.index.internal.gbptree.GBPTree.Monitor
Called when the tree was started on no existing store file and so will be created.

O

org.neo4j.index.internal.gbptree - package org.neo4j.index.internal.gbptree
B+tree implementation with arbitrary key/value.
overwrite() - Static method in class org.neo4j.index.internal.gbptree.ValueMergers
 

P

put(KEY, VALUE) - Method in interface org.neo4j.index.internal.gbptree.Writer
Associate given key with given value.

R

read(PageCursor, int) - Method in interface org.neo4j.index.internal.gbptree.Header.Reader
Called when it's time to read header data from the most up to date and valid state page.
readKey(PageCursor, KEY) - Method in interface org.neo4j.index.internal.gbptree.Layout
Reads key contents at cursor at its current offset into key.
readMetaData(PageCursor) - Method in interface org.neo4j.index.internal.gbptree.Layout
Reads meta data specific to this layout instance from cursor at its current offset.
readValue(PageCursor, VALUE) - Method in interface org.neo4j.index.internal.gbptree.Layout
Reads value contents at cursor at its current offset into value.
remove(KEY) - Method in interface org.neo4j.index.internal.gbptree.Writer
Removes a key, returning it's associated value, if found.

S

seek(KEY, KEY) - Method in class org.neo4j.index.internal.gbptree.GBPTree
Seeks hits in this tree, given a key range.
startupState(boolean) - Method in class org.neo4j.index.internal.gbptree.GBPTree.Monitor.Adaptor
 
startupState(boolean) - Method in interface org.neo4j.index.internal.gbptree.GBPTree.Monitor
Report tree state on startup.

T

toString() - Method in class org.neo4j.index.internal.gbptree.GBPTree
 
toString() - Method in class org.neo4j.index.internal.gbptree.Layout.Adapter
 
TreeInconsistencyException - Exception in org.neo4j.index.internal.gbptree
Thrown to signal inconsistencies in the tree, either between tree nodes or inside a tree node.

V

value() - Method in interface org.neo4j.index.internal.gbptree.Hit
 
ValueMerger<VALUE> - Interface in org.neo4j.index.internal.gbptree
Decides what to do when inserting key which already exists in index.
ValueMergers - Class in org.neo4j.index.internal.gbptree
Common ValueMerger implementations.
ValueMergers() - Constructor for class org.neo4j.index.internal.gbptree.ValueMergers
 
valueSize() - Method in interface org.neo4j.index.internal.gbptree.Layout
 

W

write(PageCursor, int, PageCursor) - Method in interface org.neo4j.index.internal.gbptree.Header.Writer
Writes header data into to with previous valid header data found in from of length bytes in size.
writeKey(PageCursor, KEY) - Method in interface org.neo4j.index.internal.gbptree.Layout
Writes contents of key into cursor at its current offset.
writeMetaData(PageCursor) - Method in interface org.neo4j.index.internal.gbptree.Layout
Writes meta data specific to this layout instance to cursor at its current offset.
writer() - Method in class org.neo4j.index.internal.gbptree.GBPTree
Returns a Writer able to modify the index, i.e.
Writer<KEY,VALUE> - Interface in org.neo4j.index.internal.gbptree
writeValue(PageCursor, VALUE) - Method in interface org.neo4j.index.internal.gbptree.Layout
Writes contents of value into cursor at its current offset.
A C G H I K L M N O P R S T V W 
Skip navigation links

Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.