Row.toString
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.cassandra.db.rows.Row.toString(Showing top 7 results out of 315)

origin: jsevellec/cassandra-unit

@Override
public String toString()
{
  StringBuilder sb = new StringBuilder();
  sb.append(String.format("[%s.%s] key=%s columns=%s",
              metadata.ksName,
              metadata.cfName,
              metadata.getKeyValidator().getString(partitionKey().getKey()),
              columns()));
  if (staticRow() != Rows.EMPTY_STATIC_ROW)
    sb.append("\n    ").append(staticRow().toString(metadata));
  for (Row row : this)
    sb.append("\n    ").append(row.toString(metadata));
  return sb.toString();
}
origin: org.apache.cassandra/cassandra-all

@Override
public String toString()
{
  StringBuilder sb = new StringBuilder();
  sb.append(String.format("[%s.%s] key=%s partition_deletion=%s columns=%s",
              metadata.ksName,
              metadata.cfName,
              metadata.getKeyValidator().getString(partitionKey().getKey()),
              partitionLevelDeletion(),
              columns()));
  if (staticRow() != Rows.EMPTY_STATIC_ROW)
    sb.append("\n    ").append(staticRow().toString(metadata, true));
  try (UnfilteredRowIterator iter = unfilteredIterator())
  {
    while (iter.hasNext())
      sb.append("\n    ").append(iter.next().toString(metadata, true));
  }
  return sb.toString();
}
origin: tolbertam/sstable-tools

System.out.println(
    "[" + metadata.getKeyValidator().getString(partition.partitionKey().getKey()) + "] " +
        partition.staticRow().toString(metadata, true));
rowsPaged.incrementAndGet();
totalRows.incrementAndGet();
origin: org.apache.cassandra/cassandra-all

position.get() + " " + partition.staticRow().toString(metadata, true));
origin: org.apache.cassandra/cassandra-all

@Override
public String toString()
{
  StringBuilder sb = new StringBuilder();
  sb.append(String.format("[%s.%s] key=%s partition_deletion=%s columns=%s",
              metadata.ksName,
              metadata.cfName,
              metadata.getKeyValidator().getString(partitionKey().getKey()),
              partitionLevelDeletion(),
              columns()));
  if (staticRow() != Rows.EMPTY_STATIC_ROW)
    sb.append("\n    ").append(staticRow().toString(metadata, true));
  try (UnfilteredRowIterator iter = unfilteredIterator())
  {
    while (iter.hasNext())
      sb.append("\n    ").append(iter.next().toString(metadata, true));
  }
  return sb.toString();
}
origin: org.apache.cassandra/cassandra-all

position.get() + " " + partition.staticRow().toString(metadata, true));
origin: jsevellec/cassandra-unit

position.get() + " " + partition.staticRow().toString(metadata, true));
org.apache.cassandra.db.rowsRowtoString

Popular methods of Row

  • cells
    An iterable over the cells of this row. The iterable guarantees that cells are returned in order of
  • clustering
    The clustering values for this row.
  • deletion
    The row deletion. This correspond to the last row deletion done on this row.
  • getCell
    Return a cell for a given complex column and cell path.
  • getComplexColumnData
    The data for a complex column. The returned object groups all the cells for the column, as well as i
  • columns
    An in-natural-order collection of the columns for which data (incl. simple tombstones) is present in
  • dataSize
  • hasLiveData
    Whether the row has some live information (i.e. it's not just deletion informations).
  • isEmpty
    Whether the row has no information whatsoever. This means no PK liveness info, no row deletion, no c
  • isStatic
    Whether the row correspond to a static row or not.
  • iterator
  • primaryKeyLivenessInfo
    Liveness information for the primary key columns of this row. As a row is uniquely identified by its
  • iterator,
  • primaryKeyLivenessInfo,
  • apply,
  • cellsInLegacyOrder,
  • digest,
  • filter,
  • hasComplexDeletion,
  • markCounterLocalToBeCleared,
  • purge

Popular classes and methods

  • setScale (BigDecimal)
    Returns a new BigDecimal instance with the specified scale. If the new scale is greater than the old
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JList (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)