Tabnine Logo
RowIndexEntry.isIndexed
Code IndexAdd Tabnine to your IDE (free)

How to use
isIndexed
method
in
org.apache.cassandra.db.RowIndexEntry

Best Java code snippets using org.apache.cassandra.db.RowIndexEntry.isIndexed (Showing top 14 results out of 315)

origin: jsevellec/cassandra-unit

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ForwardIndexedReader(indexEntry, file, shouldCloseFile)
     : new ForwardReader(file, shouldCloseFile);
}
origin: jsevellec/cassandra-unit

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ReverseIndexedReader(indexEntry, file, shouldCloseFile)
     : new ReverseReader(file, shouldCloseFile);
}
origin: org.apache.cassandra/cassandra-all

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ReverseIndexedReader(indexEntry, file, shouldCloseFile)
     : new ReverseReader(file, shouldCloseFile);
}
origin: com.strapdata.cassandra/cassandra-all

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ForwardIndexedReader(indexEntry, file, shouldCloseFile)
     : new ForwardReader(file, shouldCloseFile);
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ForwardIndexedReader(indexEntry, file, shouldCloseFile)
     : new ForwardReader(file, shouldCloseFile);
}
origin: org.apache.cassandra/cassandra-all

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ForwardIndexedReader(indexEntry, file, shouldCloseFile)
     : new ForwardReader(file, shouldCloseFile);
}
origin: com.strapdata.cassandra/cassandra-all

protected Reader createReaderInternal(RowIndexEntry indexEntry, FileDataInput file, boolean shouldCloseFile)
{
  return indexEntry.isIndexed()
     ? new ReverseIndexedReader(indexEntry, file, shouldCloseFile)
     : new ReverseReader(file, shouldCloseFile);
}
origin: com.facebook.presto.cassandra/cassandra-server

  public int serializedSize(RowIndexEntry rie)
  {
    int size = TypeSizes.NATIVE.sizeof(rie.position) + TypeSizes.NATIVE.sizeof(rie.promotedSize(type));
    if (rie.isIndexed())
    {
      List<IndexHelper.IndexInfo> index = rie.columnsIndex();
      size += DeletionTime.serializer.serializedSize(rie.deletionTime(), TypeSizes.NATIVE);
      size += TypeSizes.NATIVE.sizeof(index.size());
      ISerializer<IndexHelper.IndexInfo> idxSerializer = type.indexSerializer();
      for (IndexHelper.IndexInfo info : index)
        size += idxSerializer.serializedSize(info, TypeSizes.NATIVE);
    }
    return size;
  }
}
origin: com.facebook.presto.cassandra/cassandra-server

public void serialize(RowIndexEntry rie, DataOutputPlus out) throws IOException
{
  out.writeLong(rie.position);
  out.writeInt(rie.promotedSize(type));
  if (rie.isIndexed())
  {
    DeletionTime.serializer.serialize(rie.deletionTime(), out);
    out.writeInt(rie.columnsIndex().size());
    ISerializer<IndexHelper.IndexInfo> idxSerializer = type.indexSerializer();
    for (IndexHelper.IndexInfo info : rie.columnsIndex())
      idxSerializer.serialize(info, out);
  }
}
origin: com.facebook.presto.cassandra/cassandra-server

if (!indexEntry.isIndexed())
if (!indexEntry.isIndexed())
origin: org.apache.cassandra/cassandra-all

boolean needSeekAtPartitionStart = !indexEntry.isIndexed() || !columns.fetchedColumns().statics.isEmpty();
origin: jsevellec/cassandra-unit

boolean needSeekAtPartitionStart = !indexEntry.isIndexed() || !columns.fetchedColumns().statics.isEmpty();
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

boolean needSeekAtPartitionStart = !indexEntry.isIndexed() || !columns.fetchedColumns().statics.isEmpty();
origin: com.strapdata.cassandra/cassandra-all

boolean needSeekAtPartitionStart = !indexEntry.isIndexed() || !columns.fetchedColumns().statics.isEmpty();
org.apache.cassandra.dbRowIndexEntryisIndexed

Popular methods of RowIndexEntry

  • <init>
  • create
  • deletionTime
  • columnsIndexCount
  • openWithIndex
  • serialize
  • serializeForCache
  • indexOnHeap
  • columnsIndex
  • promotedSize

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Top Vim plugins
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