Tabnine Logo
UnfilteredRowIterator.partitionLevelDeletion
Code IndexAdd Tabnine to your IDE (free)

How to use
partitionLevelDeletion
method
in
org.apache.cassandra.db.rows.UnfilteredRowIterator

Best Java code snippets using org.apache.cassandra.db.rows.UnfilteredRowIterator.partitionLevelDeletion (Showing top 20 results out of 315)

origin: org.apache.cassandra/cassandra-all

public UnfilteredRows(UnfilteredRowIterator input, PartitionColumns columns)
{
  super(input);
  partitionColumns = columns;
  partitionLevelDeletion = input.partitionLevelDeletion();
}
origin: jsevellec/cassandra-unit

public UnfilteredRows(UnfilteredRowIterator input, PartitionColumns columns)
{
  super(input);
  partitionColumns = columns;
  partitionLevelDeletion = input.partitionLevelDeletion();
}
origin: org.apache.cassandra/cassandra-all

public DeletionTime partitionLevelDeletion()
{
  return iterator.partitionLevelDeletion();
}
origin: org.apache.cassandra/cassandra-all

public DeletionTime partitionLevelDeletion()
{
  return wrapped.partitionLevelDeletion();
}
origin: com.strapdata.cassandra/cassandra-all

public UnfilteredRows(UnfilteredRowIterator input, PartitionColumns columns)
{
  super(input);
  partitionColumns = columns;
  partitionLevelDeletion = input.partitionLevelDeletion();
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

public DeletionTime partitionLevelDeletion()
{
  return wrapped.partitionLevelDeletion();
}
origin: jsevellec/cassandra-unit

public DeletionTime partitionLevelDeletion()
{
  return iterator.partitionLevelDeletion();
}
origin: jsevellec/cassandra-unit

public DeletionTime partitionLevelDeletion()
{
  maybeInit();
  return iterator.partitionLevelDeletion();
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

public UnfilteredRows(UnfilteredRowIterator input)
{
  super(input);
  partitionColumns = input.columns();
  partitionLevelDeletion = input.partitionLevelDeletion();
}
origin: org.apache.cassandra/cassandra-all

public DeletionTime partitionLevelDeletion()
{
  maybeInit();
  return iterator.partitionLevelDeletion();
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

public DeletionTime partitionLevelDeletion()
{
  maybeInit();
  return iterator.partitionLevelDeletion();
}
origin: org.apache.cassandra/cassandra-all

  /**
   * Returns whether this iterator has no data (including no deletion data).
   */
  public default boolean isEmpty()
  {
    return partitionLevelDeletion().isLive()
      && staticRow().isEmpty()
      && !hasNext();
  }
}
origin: jsevellec/cassandra-unit

  /**
   * Returns whether this iterator has no data (including no deletion data).
   */
  public default boolean isEmpty()
  {
    return partitionLevelDeletion().isLive()
      && staticRow().isEmpty()
      && !hasNext();
  }
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

  /**
   * Returns whether this iterator has no data (including no deletion data).
   */
  public default boolean isEmpty()
  {
    return partitionLevelDeletion().isLive()
      && staticRow().isEmpty()
      && !hasNext();
  }
}
origin: com.strapdata.cassandra/cassandra-all

  /**
   * Returns whether this iterator has no data (including no deletion data).
   */
  public default boolean isEmpty()
  {
    return partitionLevelDeletion().isLive()
      && staticRow().isEmpty()
      && !hasNext();
  }
}
origin: org.apache.cassandra/cassandra-all

public PartitionIterator(UnfilteredRowIterator partition, Collection<Unfiltered> content)
{
  super(partition.metadata(),
     partition.partitionKey(),
     partition.partitionLevelDeletion(),
     partition.columns(),
     partition.staticRow(),
     partition.isReverseOrder(),
     partition.stats());
  rows = content.iterator();
}
origin: org.apache.cassandra/cassandra-all

private void writePartitionHeader(UnfilteredRowIterator iterator) throws IOException
{
  ByteBufferUtil.writeWithShortLength(iterator.partitionKey().getKey(), writer);
  DeletionTime.serializer.serialize(iterator.partitionLevelDeletion(), writer);
  if (header.hasStatic())
  {
    Row staticRow = iterator.staticRow();
    UnfilteredSerializer.serializer.serializeStaticRow(staticRow, header, writer, version);
    if (!observers.isEmpty())
      observers.forEach((o) -> o.nextUnfilteredCluster(staticRow));
  }
}
origin: jsevellec/cassandra-unit

public PartitionIterator(UnfilteredRowIterator partition, Collection<Unfiltered> content)
{
  super(partition.metadata(),
     partition.partitionKey(),
     partition.partitionLevelDeletion(),
     partition.columns(),
     partition.staticRow(),
     partition.isReverseOrder(),
     partition.stats());
  rows = content.iterator();
}
origin: com.strapdata.cassandra/cassandra-all

private void writePartitionHeader(UnfilteredRowIterator iterator) throws IOException
{
  ByteBufferUtil.writeWithShortLength(iterator.partitionKey().getKey(), writer);
  DeletionTime.serializer.serialize(iterator.partitionLevelDeletion(), writer);
  if (header.hasStatic())
  {
    Row staticRow = iterator.staticRow();
    UnfilteredSerializer.serializer.serializeStaticRow(staticRow, header, writer, version);
    if (!observers.isEmpty())
      observers.forEach((o) -> o.nextUnfilteredCluster(staticRow));
  }
}
origin: jsevellec/cassandra-unit

private void writePartitionHeader(UnfilteredRowIterator iterator) throws IOException
{
  ByteBufferUtil.writeWithShortLength(iterator.partitionKey().getKey(), writer);
  DeletionTime.serializer.serialize(iterator.partitionLevelDeletion(), writer);
  if (header.hasStatic())
  {
    Row staticRow = iterator.staticRow();
    UnfilteredSerializer.serializer.serializeStaticRow(staticRow, header, writer, version);
    if (!observers.isEmpty())
      observers.forEach((o) -> o.nextUnfilteredCluster(staticRow));
  }
}
org.apache.cassandra.db.rowsUnfilteredRowIteratorpartitionLevelDeletion

Javadoc

The partition level deletion for the partition this iterate over.

Popular methods of UnfilteredRowIterator

  • hasNext
  • next
  • partitionKey
  • close
  • columns
  • isEmpty
    Returns whether this iterator has no data (including no deletion data).
  • isReverseOrder
  • metadata
  • staticRow
  • stats
    Return "statistics" about what is returned by this iterator. Those are used for performance reasons
  • forEachRemaining
  • forEachRemaining

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • CodeWhisperer 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