Unnamed: 0 int64 0 6.7k | func stringlengths 12 89.6k | target bool 2
classes | project stringlengths 45 151 |
|---|---|---|---|
6,200 | public interface LegacyDatabase extends Remote
{
int stop() throws RemoteException;
String getStoreDir() throws RemoteException;
void awaitStarted( long time, TimeUnit unit ) throws RemoteException;
long createNode( String name ) throws RemoteException;
void verifyNodeExists( lon... | false | enterprise_ha_src_test_java_org_neo4j_ha_upgrade_LegacyDatabase.java |
6,201 | public interface ArrayEquality
{
boolean typeEquals( Class<?> firstType, Class<?> otherType );
boolean itemEquals( Object firstArray, Object otherArray );
} | false | community_kernel_src_main_java_org_neo4j_helpers_ArrayUtil.java |
6,202 | public interface BiConsumer<T, U>
{
void accept( T first, U second );
} | false | community_kernel_src_main_java_org_neo4j_helpers_BiConsumer.java |
6,203 | public interface Clock
{
Clock SYSTEM_CLOCK = new Clock()
{
@Override
public long currentTimeMillis()
{
return System.currentTimeMillis();
}
};
long currentTimeMillis();
} | false | community_kernel_src_main_java_org_neo4j_helpers_Clock.java |
6,204 | public interface CloneableInPublic extends Cloneable
{
Object clone();
} | false | community_kernel_src_main_java_org_neo4j_helpers_CloneableInPublic.java |
6,205 | public interface Factory<T>
{
T newInstance();
} | false | community_kernel_src_main_java_org_neo4j_helpers_Factory.java |
6,206 | public interface Function<FROM, TO>
{
/**
* Apply a value to this function
*
* @param from the input item
* @return the mapped item
*/
TO apply( FROM from );
} | false | community_kernel_src_main_java_org_neo4j_helpers_Function.java |
6,207 | public interface Function2<T1, T2, R>
{
/**
* Map a single item from one type to another
*
* @param from1 the first input item
* @param from2 the second input item
* @return the mapped item
*/
R apply( T1 from1, T2 from2 );
} | false | community_kernel_src_main_java_org_neo4j_helpers_Function2.java |
6,208 | public interface FunctionFromPrimitiveInt<T>
{
T apply( int value );
} | false | community_kernel_src_main_java_org_neo4j_helpers_FunctionFromPrimitiveInt.java |
6,209 | public interface FunctionFromPrimitiveLong<T>
{
T apply( long value );
} | false | community_kernel_src_main_java_org_neo4j_helpers_FunctionFromPrimitiveLong.java |
6,210 | public interface FunctionToPrimitiveLong<T>
{
long apply( T value );
} | false | community_kernel_src_main_java_org_neo4j_helpers_FunctionToPrimitiveLong.java |
6,211 | public interface Notification<T>
{
void notify(T listener);
} | false | community_kernel_src_main_java_org_neo4j_helpers_Listeners.java |
6,212 | public interface Predicate<T>
{
/**
* @return whether or not to accept the {@code item}, where {@code true}
* means that the {@code item} is accepted and {@code false} means that
* it's not (i.e. didn't pass the filter).
*/
boolean accept( T item );
} | false | community_kernel_src_main_java_org_neo4j_helpers_Predicate.java |
6,213 | public interface PrimitiveIntPredicate
{
boolean accept( int value );
} | false | community_kernel_src_main_java_org_neo4j_helpers_PrimitiveIntPredicate.java |
6,214 | public interface PrimitiveLongPredicate
{
boolean accept( long value );
} | false | community_kernel_src_main_java_org_neo4j_helpers_PrimitiveLongPredicate.java |
6,215 | public interface Provider<TYPE>
{
TYPE instance();
} | false | community_kernel_src_main_java_org_neo4j_helpers_Provider.java |
6,216 | @Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
public @interface Implementation
{
/**
* The service(s) this class implements.
*
* @return the services this class implements.
*/
Class<?>[] value();
} | false | community_kernel_src_main_java_org_neo4j_helpers_Service.java |
6,217 | private interface SettingHelper<T>
extends Setting<T>
{
String lookup( Function<String, String> settings );
String defaultLookup( Function<String, String> settings );
} | false | community_kernel_src_main_java_org_neo4j_helpers_Settings.java |
6,218 | private static enum MyEnum
{
first,
second,
third;
} | false | community_kernel_src_test_java_org_neo4j_helpers_TestArgs.java |
6,219 | public interface Thunk<T>
{
T evaluate();
} | false | community_kernel_src_main_java_org_neo4j_helpers_Thunk.java |
6,220 | public interface ValueGetter<T>
{
T get();
class FromValue<T> implements ValueGetter<T>
{
private final T value;
public FromValue( T value )
{
this.value = value;
}
@Override
public T get()
{
return value;
... | false | community_kernel_src_main_java_org_neo4j_helpers_ValueGetter.java |
6,221 | public interface ClosableIterable<T> extends Iterable<T>
{
void close();
} | false | community_kernel_src_main_java_org_neo4j_helpers_collection_ClosableIterable.java |
6,222 | public interface ClosableIterator<T> extends Iterator<T>
{
void close();
} | false | community_kernel_src_main_java_org_neo4j_helpers_collection_ClosableIterator.java |
6,223 | public interface Visitable<T>
{
void accept(Visitor<T, RuntimeException> visitor);
} | false | community_kernel_src_main_java_org_neo4j_helpers_collection_Visitable.java |
6,224 | public interface Visitor<E, FAILURE extends Exception>
{
/**
* Invoked for each element in a collection. Return <code>true</code> to
* terminate the iteration, <code>false</code> to continue.
*
* @param element an element from the collection.
* @return <code>true</code> to terminate the ite... | false | community_kernel_src_main_java_org_neo4j_helpers_collection_Visitor.java |
6,225 | enum State
{
INIT, LIVE
} | false | community_kernel_src_main_java_org_neo4j_helpers_progress_ProgressListener.java |
6,226 | protected static abstract interface EntityCreator<T extends PropertyContainer>
{
T create( Object... properties );
void delete( T entity );
} | false | community_lucene-index_src_test_java_org_neo4j_index_impl_lucene_AbstractLuceneIndexTest.java |
6,227 | protected static abstract interface EntityCreator<T extends PropertyContainer>
{
T create( Object... properties );
void delete( T entity );
} | false | community_lucene-index_src_test_java_org_neo4j_index_impl_lucene_AbstractLuceneIndexTestIT.java |
6,228 | interface EntityType
{
Document newDocument( Object entityId );
Class<? extends PropertyContainer> getType();
} | false | community_lucene-index_src_main_java_org_neo4j_index_impl_lucene_EntityType.java |
6,229 | private static enum LuceneFilesystemFacade
{
FS
{
@Override
Directory getDirectory( File baseStorePath, IndexIdentifier identifier ) throws IOException
{
return FSDirectory.open( getFileDirectory( baseSto... | false | community_lucene-index_src_main_java_org_neo4j_index_impl_lucene_LuceneDataSource.java |
6,230 | public interface Dependencies
{
Config getConfig();
GraphDatabaseService getDatabase();
TransactionManager getTxManager();
XaFactory getXaFactory();
FileSystemAbstraction getFileSystem();
XaDataSourceManager getXaDataSourceManager();
IndexProviders g... | false | community_lucene-index_src_main_java_org_neo4j_index_lucene_LuceneKernelExtensionFactory.java |
6,231 | public interface TimelineIndex<T extends PropertyContainer>
{
/**
* @return the last entity in the timeline, that is the entity with the highest
* timestamp or {@code null} if the timeline is empty.
*/
T getLast();
/**
* @return the first entity in the timeline, that is the entity with ... | false | community_lucene-index_src_main_java_org_neo4j_index_lucene_TimelineIndex.java |
6,232 | private interface EntityCreator<T extends PropertyContainer>
{
T create();
} | false | community_lucene-index_src_test_java_org_neo4j_index_timeline_TestTimeline.java |
6,233 | @Target( { ElementType.METHOD, ElementType.TYPE, ElementType.FIELD } )
@Retention( RetentionPolicy.RUNTIME )
public @interface Description
{
// TODO: refactor for localization
String value();
int impact() default MBeanOperationInfo.UNKNOWN;
} | false | community_jmx_src_main_java_org_neo4j_jmx_Description.java |
6,234 | @ManagementInterface( name = Kernel.NAME )
@Description( "Information about the Neo4j kernel" )
public interface Kernel
{
final String NAME = "Kernel";
@Description( "An ObjectName that can be used as a query for getting all management "
+ "beans for this Neo4j instance." )
ObjectName get... | false | community_jmx_src_main_java_org_neo4j_jmx_Kernel.java |
6,235 | @Target( ElementType.TYPE )
@Retention( RetentionPolicy.RUNTIME )
public @interface ManagementInterface
{
String name();
} | false | community_jmx_src_main_java_org_neo4j_jmx_ManagementInterface.java |
6,236 | @ManagementInterface( name = Primitives.NAME )
@Description( "Estimates of the numbers of different kinds of Neo4j primitives" )
public interface Primitives
{
final String NAME = "Primitive count";
@Description( "An estimation of the number of nodes used in this Neo4j instance" )
long getNumberOfNodeIdsInU... | false | community_jmx_src_main_java_org_neo4j_jmx_Primitives.java |
6,237 | @ManagementInterface( name = StoreFile.NAME )
@Description( "Information about the sizes of the different parts of the Neo4j graph store" )
public interface StoreFile
{
final String NAME = "Store file sizes";
@Description( "The amount of disk space used by the current Neo4j logical log, in bytes." )
long g... | false | community_jmx_src_main_java_org_neo4j_jmx_StoreFile.java |
6,238 | public interface Dependencies
{
KernelData getKernelData();
Logging getLogging();
} | false | community_jmx_src_main_java_org_neo4j_jmx_impl_JmxExtensionFactory.java |
6,239 | public interface AvailabilityListener
{
void available();
void unavailable();
} | false | community_kernel_src_main_java_org_neo4j_kernel_AvailabilityGuard.java |
6,240 | public interface AvailabilityRequirement
{
String description();
} | false | community_kernel_src_main_java_org_neo4j_kernel_AvailabilityGuard.java |
6,241 | public enum CommonBranchOrdering implements BranchOrderingPolicy
{
/**
* @deprecated See {@link BranchOrderingPolicies}
*/
PREORDER_DEPTH_FIRST
{
public BranchSelector create( TraversalBranch startSource, PathExpander expander )
{
return BranchOrderingPolicies.PREORDER_... | false | community_kernel_src_main_java_org_neo4j_kernel_CommonBranchOrdering.java |
6,242 | public interface Dependencies
{
Config getConfig();
KernelData getKernel();
} | false | community_kernel_src_test_java_org_neo4j_kernel_DummyExtensionFactory.java |
6,243 | interface Expansion<T> extends Iterable<T>
{
Expander expander();
Expansion<Node> nodes();
Expansion<Relationship> relationships();
Expansion<Pair<Relationship, Node>> pairs();
Expansion<T> including( RelationshipType type );
Expansion<T> including( RelationshipType type, Direction directio... | false | community_kernel_src_main_java_org_neo4j_kernel_Expansion.java |
6,244 | @Deprecated
public interface GraphDatabaseAPI extends GraphDatabaseService
{
/**
* Look up database components for direct access.
* Usage of this method is generally an indication of architectural error.
*/
DependencyResolver getDependencyResolver();
/** Provides the unique id assigned to th... | false | community_kernel_src_main_java_org_neo4j_kernel_GraphDatabaseAPI.java |
6,245 | private enum Type
{
without, enabled, activeTimeout, activeOpscount
} | false | community_kernel_src_test_java_org_neo4j_kernel_GuardPerformanceImpact.java |
6,246 | @Deprecated
public interface IdGeneratorFactory
{
IdGenerator open( FileSystemAbstraction fs, File fileName, int grabSize, IdType idType, long highId );
void create( FileSystemAbstraction fs, File fileName, long highId );
IdGenerator get( IdType idType );
} | false | community_kernel_src_main_java_org_neo4j_kernel_IdGeneratorFactory.java |
6,247 | @Deprecated
public enum IdType
{
NODE( 35, false ),
RELATIONSHIP( 35, false ),
PROPERTY( 36, true ),
STRING_BLOCK( 36, true ),
ARRAY_BLOCK( 36, true ),
PROPERTY_KEY_TOKEN( false ),
PROPERTY_KEY_TOKEN_NAME( false ),
RELATIONSHIP_TYPE_TOKEN( 16, false ),
RELATIONSHIP_TYPE_TOKEN_NAME( f... | false | community_kernel_src_main_java_org_neo4j_kernel_IdType.java |
6,248 | public interface Dependencies
{
/**
* Allowed to be null. Null means that no external {@link Logging} was created, let the
* database create its own logging.
* @return
*/
Logging logging();
Iterable<Class<?>> settingsClasses();
Iterable<Kerne... | false | community_kernel_src_main_java_org_neo4j_kernel_InternalAbstractGraphDatabase.java |
6,249 | @Deprecated
public interface PropertyTracker<T extends PropertyContainer>
{
void propertyAdded( T primitive, String propertyName, Object propertyValue );
void propertyRemoved( T primitive, String propertyName, Object propertyValue );
void propertyChanged( T primitive, String propertyName, Object oldValue,... | false | community_kernel_src_main_java_org_neo4j_kernel_PropertyTracker.java |
6,250 | public enum SideSelectorPolicies implements SideSelectorPolicy
{
/**
* @deprecated See {@link org.neo4j.graphdb.traversal.SideSelectorPolicies}
*/
LEVEL
{
@Override
public SideSelector create( BranchSelector start, BranchSelector end, int maxDepth )
{
return org... | false | community_kernel_src_main_java_org_neo4j_kernel_SideSelectorPolicies.java |
6,251 | private enum Exclusion
{
ALL( null, "!" )
{
@Override
public boolean accept( Node start, Relationship rel )
{
return false;
}
},
INCOMING( Direction.OUTGOING )
... | false | community_kernel_src_main_java_org_neo4j_kernel_StandardExpander.java |
6,252 | @Deprecated
public interface TransactionBuilder
{
/**
* Starts a new transaction and associates it with the current thread.
*
* @return a new transaction instance
*/
Transaction begin();
/**
* Relaxes the forcing constraint of the logical logs for this transaction
* so th... | false | community_kernel_src_main_java_org_neo4j_kernel_TransactionBuilder.java |
6,253 | public interface PathDescriptor<T extends Path>
{
/**
* Returns a string representation of a {@link Node}.
* @param path the {@link Path} we're building a string representation
* from.
* @param node the {@link Node} to return a string representation of.
* @re... | false | community_kernel_src_main_java_org_neo4j_kernel_Traversal.java |
6,254 | public enum Uniqueness implements UniquenessFactory
{
/**
* @deprecated See {@link org.neo4j.graphdb.traversal.Uniqueness}
*/
NODE_GLOBAL
{
public UniquenessFilter create( Object optionalParameter )
{
return org.neo4j.graphdb.traversal.Uniqueness.NODE_GLOBAL.create(opti... | false | community_kernel_src_main_java_org_neo4j_kernel_Uniqueness.java |
6,255 | interface DataRead
{
/**
* @param labelId the label id of the label that returned nodes are guaranteed to have
* @return ids of all nodes that have the given label
*/
PrimitiveLongIterator nodesGetForLabel( int labelId );
/**
* Returns an iterable with the matched nodes.
*
* @... | false | community_kernel_src_main_java_org_neo4j_kernel_api_DataRead.java |
6,256 | interface DataWrite
{
long nodeCreate();
void nodeDelete( long nodeId );
long relationshipCreate( long relationshipTypeId, long startNodeId, long endNodeId )
throws RelationshipTypeIdNotFoundKernelException, EntityNotFoundException;
void relationshipDelete( long relationshipId );
/**... | false | community_kernel_src_main_java_org_neo4j_kernel_api_DataWrite.java |
6,257 | public interface DataWriteOperations extends TokenWriteOperations, DataWrite
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_DataWriteOperations.java |
6,258 | public enum EntityType
{
NODE, RELATIONSHIP, GRAPH
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_EntityType.java |
6,259 | public interface KernelAPI
{
/**
* Creates and returns a new {@link KernelTransaction} capable of modifying the
* underlying graph.
*/
KernelTransaction newTransaction();
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_KernelAPI.java |
6,260 | public interface KernelTransaction
{
Statement acquireStatement();
// Made unavailable for now, should be re-instated once the WriteTransaction/KernelTransaction structure is
// sorted out.
// void prepare();
//
// /**
// * Commit this transaction, this will make the changes in this context visib... | false | community_kernel_src_main_java_org_neo4j_kernel_api_KernelTransaction.java |
6,261 | public interface ReadOperations extends TokenRead, DataRead, SchemaRead, SchemaState
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_ReadOperations.java |
6,262 | interface IndexProviderDependencies
{
GraphDatabaseService db();
Config config();
} | false | enterprise_ha_src_test_java_org_neo4j_kernel_api_SchemaIndexHaIT.java |
6,263 | interface SchemaRead
{
/** Returns the index rule for the given labelId and propertyKey. */
IndexDescriptor indexesGetForLabelAndPropertyKey( int labelId, int propertyKey )
throws SchemaRuleNotFoundException;
/** Get all indexes for a label. */
Iterator<IndexDescriptor> indexesGetForLabel( ... | false | community_kernel_src_main_java_org_neo4j_kernel_api_SchemaRead.java |
6,264 | interface SchemaState
{
<K, V> V schemaStateGetOrCreate( K key, Function<K, V> creator );
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_SchemaState.java |
6,265 | interface SchemaWrite
{
/**
* Creates an index, indexing properties with the given {@code propertyKeyId} for nodes with the given
* {@code labelId}.
*/
IndexDescriptor indexCreate( int labelId, int propertyKeyId )
throws AddIndexFailureException, AlreadyIndexedException, AlreadyConstr... | false | community_kernel_src_main_java_org_neo4j_kernel_api_SchemaWrite.java |
6,266 | public interface SchemaWriteOperations extends TokenWriteOperations, SchemaWrite
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_SchemaWriteOperations.java |
6,267 | public interface Statement extends Resource
{
ReadOperations readOperations();
/**
* We create tokens as part of both schema write transactions and data write transactions.
* Creating tokens is always allowed, except on read-only databases.
* Generally we know from context which of these transac... | false | community_kernel_src_main_java_org_neo4j_kernel_api_Statement.java |
6,268 | public interface TokenNameLookup
{
String labelGetName( int labelId );
String propertyKeyGetName( int propertyKeyId );
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_TokenNameLookup.java |
6,269 | interface TokenRead
{
int NO_SUCH_LABEL = -1;
int NO_SUCH_PROPERTY_KEY = -1;
/** Returns a label id for a label name. If the label doesn't exist, {@link #NO_SUCH_LABEL} will be returned. */
int labelGetForName( String labelName );
/** Returns the label name for the given label id. */
String la... | false | community_kernel_src_main_java_org_neo4j_kernel_api_TokenRead.java |
6,270 | public interface TokenWrite
{
/**
* Returns a label id for a label name. If the label doesn't exist prior to
* this call it gets created.
*/
int labelGetOrCreateForName( String labelName ) throws IllegalTokenNameException, TooManyLabelsException;
/**
* Returns a property key id for a pr... | false | community_kernel_src_main_java_org_neo4j_kernel_api_TokenWrite.java |
6,271 | public interface TokenWriteOperations extends ReadOperations, TokenWrite
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_TokenWriteOperations.java |
6,272 | public interface AllEntriesLabelScanReader extends BoundedIterable<NodeLabelRange>
{
AllEntriesLabelScanReader EMPTY = new AllEntriesLabelScanReader()
{
@Override
public long maxCount()
{
return 0;
}
@Override
public void close() throws IOException
... | false | community_kernel_src_main_java_org_neo4j_kernel_api_direct_AllEntriesLabelScanReader.java |
6,273 | public interface BoundedIterable<RECORD> extends Iterable<RECORD>, Closeable
{
long maxCount();
BoundedIterable EMPTY = new BoundedIterable()
{
@Override
public long maxCount()
{
return 0;
}
@Override public void close() throws IOException
{
... | false | community_kernel_src_main_java_org_neo4j_kernel_api_direct_BoundedIterable.java |
6,274 | public interface NodeLabelRange
{
int id();
long[] nodes();
long[] labels( long nodeId );
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_direct_NodeLabelRange.java |
6,275 | public interface Status
{
/*
* A note on naming: Since these are public status codes and users will base error handling on them, please take
* care to place them in correct categories and assign them correct classifications. Also make sure you are not
* introducing duplicates.
*
* If you ar... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,276 | public enum Classification
{
/** The Client sent a bad request - changing the request might yield a successful outcome. */
ClientError( TransactionEffect.NONE,
"The Client sent a bad request - changing the request might yield a successful outcome." ),
/** The database fai... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,277 | private enum TransactionEffect
{
ROLLBACK, NONE,
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,278 | enum General implements Status
{
ReadOnly( ClientError, "This is a read only database, writing or modifying the database is not allowed." ),
// database
FailedIndex( DatabaseError, "The request (directly or indirectly) referred to an index that is in a failed " +
"state. The inde... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,279 | enum Network implements Status
{
// transient
UnknownFailure( TransientError, "An unknown network failure occurred, a retry may resolve the issue." );
private final Code code;
@Override
public Code code()
{
return code;
}
private Netw... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,280 | enum Request implements Status
{
// client
Invalid( ClientError, "The client provided an invalid request." ),
InvalidFormat( ClientError, "The client provided a request that was missing required fields, or had values " +
"that are not allowed." );
private final Co... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,281 | enum Schema implements Status
{
/** A constraint in the database was violated by the query. */
ConstraintViolation( ClientError, "A constraint imposed by the database was violated." ),
NoSuchIndex( ClientError, "The request (directly or indirectly) referred to an index that does not exis... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,282 | enum Statement implements Status
{
// client
InvalidSyntax( ClientError, "The statement contains invalid or unsupported syntax." ),
InvalidSemantics( ClientError, "The statement is syntactically valid, but expresses something that the " +
"database cannot do." ),
... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,283 | enum Transaction implements Status
{
UnknownId( ClientError, "The request referred to a transaction that does not exist."),
ConcurrentRequest( ClientError, "There were concurrent requests accessing the same transaction, which is not " +
"allowed." ),
CouldNotBegin( Databa... | false | community_kernel_src_main_java_org_neo4j_kernel_api_exceptions_Status.java |
6,284 | public enum BitmapDocumentFormat
{
_32( BitmapFormat._32 )
{
@Override
protected NumericField setFieldValue( NumericField field, long bitmap )
{
assert (bitmap & 0xFFFFFFFF00000000L) == 0 :
"Tried to store a bitmap as int, but which had values outside int limi... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_BitmapDocumentFormat.java |
6,285 | public interface DirectoryFactory extends FileSystemAbstraction.ThirdPartyFileSystem
{
Directory open( File dir ) throws IOException;
/**
* Called when the directory factory is disposed of, really only here to allow
* the ram directory thing to close open directories.
*/
void close();
f... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_DirectoryFactory.java |
6,286 | public interface LabelScanStorageStrategy
{
PrimitiveLongIterator nodesWithLabel( IndexSearcher searcher, int labelId );
AllEntriesLabelScanReader newNodeLabelReader( SearcherManager searcher );
Iterator<Long> labelsForNode( IndexSearcher searcher, long nodeId );
LabelScanWriter acquireWriter( Storag... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LabelScanStorageStrategy.java |
6,287 | interface StorageService
{
void updateDocument( Term documentTerm, Document document ) throws IOException;
void deleteDocuments( Term documentTerm ) throws IOException;
IndexSearcher acquireSearcher();
void releaseSearcher( IndexSearcher searcher ) throws IOException;
... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LabelScanStorageStrategy.java |
6,288 | private static enum Labels implements Label
{
First,
Second;
} | false | enterprise_ha_src_test_java_org_neo4j_kernel_api_impl_index_LabelScanStoreHaIT.java |
6,289 | enum ValueEncoding
{
Number
{
@Override
String key()
{
return "number";
}
@Override
boolean canEncode( Object value )
{
return value instanceof Number;
}
... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LuceneDocumentStructure.java |
6,290 | public interface LuceneIndexWriterFactory
{
IndexWriter create( Directory directory ) throws IOException;
} | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LuceneIndexWriterFactory.java |
6,291 | public interface Monitor
{
void init();
void noIndex();
void lockedIndex( LockObtainFailedException e );
void corruptIndex( IOException e );
void rebuilding();
void rebuilt( long roughNodeCount );
} | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LuceneLabelScanStore.java |
6,292 | public interface Dependencies
{
Config getConfig();
FileSystemAbstraction getFileSystem();
NeoStoreProvider getNeoStoreProvider();
Logging getLogging();
} | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LuceneLabelScanStoreExtension.java |
6,293 | public interface Dependencies
{
Config getConfig();
FileSystemAbstraction getFileSystem();
} | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_LuceneSchemaIndexProviderFactory.java |
6,294 | public enum BitmapFormat
{
_32( 5, 0xFFFF_FFFFL ),
_64( 6, -1 );
public final int shift;
private final long mask;
private BitmapFormat( int shift, long mask )
{
this.shift = shift;
this.mask = mask;
}
public int rangeSize() {
return 1 << shift;
}
public... | false | community_lucene-index_src_main_java_org_neo4j_kernel_api_impl_index_bitmaps_BitmapFormat.java |
6,295 | public interface IndexAccessor extends Closeable
{
/**
* Deletes this index as well as closes all used external resources.
* There will not be any interactions after this call.
*
* @throws IOException if unable to drop index.
*/
void drop() throws IOException;
/**
* Return an... | false | community_kernel_src_main_java_org_neo4j_kernel_api_index_IndexAccessor.java |
6,296 | public interface IndexPopulator
{
/**
* Remove all data in the index and paves the way for populating an index.
*/
void create() throws IOException;
/**
* Closes and deletes this index.
*/
void drop() throws IOException;
/**
* Called when initially populating an index over... | false | community_kernel_src_main_java_org_neo4j_kernel_api_index_IndexPopulator.java |
6,297 | public interface IndexReader extends Resource
{
PrimitiveLongIterator lookup( Object value );
IndexReader EMPTY = new IndexReader()
{
@Override
public PrimitiveLongIterator lookup( Object value )
{
return emptyPrimitiveLongIterator();
}
@Over... | false | community_kernel_src_main_java_org_neo4j_kernel_api_index_IndexReader.java |
6,298 | public interface IndexUpdater extends AutoCloseable
{
void process( NodePropertyUpdate update ) throws IOException, IndexEntryConflictException;
@Override
void close() throws IOException, IndexEntryConflictException;
void remove( Iterable<Long> nodeIds ) throws IOException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_api_index_IndexUpdater.java |
6,299 | public enum InternalIndexState
{
/**
* Denotes that an index is in the process of being created.
*/
POPULATING,
/**
* Given after the database has populated the index, and notified the index provider that the index is in
* fact populated.
*/
ONLINE,
/**
* Deno... | false | community_kernel_src_main_java_org_neo4j_kernel_api_index_InternalIndexState.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.