Tabnine Logo
IndexerImpl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ohmdb.impl.IndexerImpl
constructor

Best Java code snippets using com.ohmdb.impl.IndexerImpl.<init> (Showing top 3 results out of 315)

origin: com.gitblit.ohmdb/ohmdb-core

@SuppressWarnings("unchecked")
private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) {
  Index index = makeIndex();
  ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index);
  for (Object col : columns) {
    String colName = jokerator.decode(col);
    prop(colName).addComplexIndex(complexIndex);
  }
  allComplexIndices = U.expand(allComplexIndices, complexIndex);
  E entity = newEntity();
  for (long id : ids()) {
    get_(id, entity);
    complexIndex.add(entity, id);
  }
  return new IndexerImpl<E, T>(complexIndex, index);
}
origin: com.gitblit.ohmdb/ohmdb

@SuppressWarnings("unchecked")
private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) {
  Index index = makeIndex();
  ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index);
  for (Object col : columns) {
    String colName = jokerator.decode(col);
    prop(colName).addComplexIndex(complexIndex);
  }
  allComplexIndices = U.expand(allComplexIndices, complexIndex);
  E entity = newEntity();
  for (long id : ids()) {
    get_(id, entity);
    complexIndex.add(entity, id);
  }
  return new IndexerImpl<E, T>(complexIndex, index);
}
origin: ohmdb/ohmdb

@SuppressWarnings("unchecked")
private <T> IndexerImpl<E, T> complexIndex(Object[] columns, final Mapper<E, ?> mapper) {
  Index index = makeIndex();
  ComplexIndex<E> complexIndex = new ComplexIndexImpl<E>((Mapper<E, Object>) mapper, index);
  for (Object col : columns) {
    String colName = jokerator.decode(col);
    prop(colName).addComplexIndex(complexIndex);
  }
  allComplexIndices = U.expand(allComplexIndices, complexIndex);
  E entity = newEntity();
  for (long id : ids()) {
    get_(id, entity);
    complexIndex.add(entity, id);
  }
  return new IndexerImpl<E, T>(complexIndex, index);
}
com.ohmdb.implIndexerImpl<init>

Popular methods of IndexerImpl

  • getIndex

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JPanel (javax.swing)
  • Github Copilot alternatives
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