congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
DirectoryImplementor.openInput
Code IndexAdd Tabnine to your IDE (free)

How to use
openInput
method
in
org.infinispan.lucene.impl.DirectoryImplementor

Best Java code snippets using org.infinispan.lucene.impl.DirectoryImplementor.openInput (Showing top 4 results out of 315)

origin: org.infinispan/infinispan-embedded-query

/**
* {@inheritDoc}
*/
@Override
public IndexInput openInput(final String name, final IOContext context) throws IOException {
 final IndexInputContext indexInputContext = impl.openInput(name);
 if (indexInputContext.readLocks == null) {
   return new SingleChunkIndexInput(indexInputContext);
 } else {
   return new InfinispanIndexInput(indexInputContext);
 }
}
origin: org.infinispan/infinispan-lucene-v3

/**
* {@inheritDoc}
*/
@Override
public IndexInput openInput(final String name) throws IOException {
 final IndexInputContext indexInputContext = impl.openInput(name);
 if ( indexInputContext.readLocks == null ) {
   return new SingleChunkIndexInput(indexInputContext);
 }
 else {
   return new InfinispanIndexInputV3(indexInputContext);
 }
}
origin: org.infinispan/infinispan-lucene-directory

/**
* {@inheritDoc}
*/
@Override
public IndexInput openInput(final String name, final IOContext context) throws IOException {
 final IndexInputContext indexInputContext = impl.openInput(name);
 if (indexInputContext.readLocks == null) {
   return new SingleChunkIndexInput(indexInputContext);
 } else {
   return new InfinispanIndexInput(indexInputContext);
 }
}
origin: org.infinispan/infinispan-lucene-v4

/**
* {@inheritDoc}
*/
@Override
public IndexInput openInput(final String name, final IOContext context) throws IOException {
 final IndexInputContext indexInputContext = impl.openInput(name);
 if ( indexInputContext.readLocks == null ) {
   return new SingleChunkIndexInput(indexInputContext);
 }
 else {
   return new InfinispanIndexInputV4(indexInputContext);
 }
}
org.infinispan.lucene.implDirectoryImplementoropenInput

Popular methods of DirectoryImplementor

  • <init>
  • createOutput
  • deleteFile
  • fileLength
  • list
  • renameFile
  • fileExists
  • getAddress
  • getChunkSize
  • getDataCache
  • getDistLocksCache
  • getMetadataCache
  • getDistLocksCache,
  • getMetadataCache,
  • fileModified,
  • touchFile

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Reference (javax.naming)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now