Tabnine Logo
RangeTombstoneList.copy
Code IndexAdd Tabnine to your IDE (free)

How to use
copy
method
in
org.apache.cassandra.db.RangeTombstoneList

Best Java code snippets using org.apache.cassandra.db.RangeTombstoneList.copy (Showing top 15 results out of 315)

origin: jsevellec/cassandra-unit

public MutableDeletionInfo copy(AbstractAllocator allocator)
{
  RangeTombstoneList rangesCopy = null;
  if (ranges != null)
     rangesCopy = ranges.copy(allocator);
  return new MutableDeletionInfo(partitionDeletion, rangesCopy);
}
origin: org.apache.cassandra/cassandra-all

public MutableDeletionInfo copy(AbstractAllocator allocator)
{
  RangeTombstoneList rangesCopy = null;
  if (ranges != null)
     rangesCopy = ranges.copy(allocator);
  return new MutableDeletionInfo(partitionDeletion, rangesCopy);
}
origin: com.facebook.presto.cassandra/cassandra-server

public DeletionInfo copy(AbstractAllocator allocator)
{
  RangeTombstoneList rangesCopy = null;
  if (ranges != null)
     rangesCopy = ranges.copy(allocator);
  return new DeletionInfo(topLevel, rangesCopy);
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

public MutableDeletionInfo copy(AbstractAllocator allocator)
{
  RangeTombstoneList rangesCopy = null;
  if (ranges != null)
     rangesCopy = ranges.copy(allocator);
  return new MutableDeletionInfo(partitionDeletion, rangesCopy);
}
origin: com.strapdata.cassandra/cassandra-all

public MutableDeletionInfo copy(AbstractAllocator allocator)
{
  RangeTombstoneList rangesCopy = null;
  if (ranges != null)
     rangesCopy = ranges.copy(allocator);
  return new MutableDeletionInfo(partitionDeletion, rangesCopy);
}
origin: jsevellec/cassandra-unit

public MutableDeletionInfo mutableCopy()
{
  return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy());
}
origin: org.apache.cassandra/cassandra-all

public MutableDeletionInfo mutableCopy()
{
  return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy());
}
origin: com.facebook.presto.cassandra/cassandra-server

public DeletionInfo copy()
{
  return new DeletionInfo(topLevel, ranges == null ? null : ranges.copy());
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

public MutableDeletionInfo mutableCopy()
{
  return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy());
}
origin: com.strapdata.cassandra/cassandra-all

public MutableDeletionInfo mutableCopy()
{
  return new MutableDeletionInfo(partitionDeletion, ranges == null ? null : ranges.copy());
}
origin: com.facebook.presto.cassandra/cassandra-server

/**
 * Combines another DeletionInfo with this one and returns the result.  Whichever top-level tombstone
 * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime.  The
 * range tombstones will be combined.
 *
 * @return this object.
 */
public DeletionInfo add(DeletionInfo newInfo)
{
  add(newInfo.topLevel);
  if (ranges == null)
    ranges = newInfo.ranges == null ? null : newInfo.ranges.copy();
  else if (newInfo.ranges != null)
    ranges.addAll(newInfo.ranges);
  return this;
}
origin: org.apache.cassandra/cassandra-all

/**
 * Combines another DeletionInfo with this one and returns the result.  Whichever top-level tombstone
 * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime.  The
 * range tombstones will be combined.
 *
 * @return this object.
 */
public DeletionInfo add(DeletionInfo newInfo)
{
  add(newInfo.getPartitionDeletion());
  // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the
  // RangeTombstoneList directly.
  assert newInfo instanceof MutableDeletionInfo;
  RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges;
  if (ranges == null)
    ranges = newRanges == null ? null : newRanges.copy();
  else if (newRanges != null)
    ranges.addAll(newRanges);
  return this;
}
origin: jsevellec/cassandra-unit

/**
 * Combines another DeletionInfo with this one and returns the result.  Whichever top-level tombstone
 * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime.  The
 * range tombstones will be combined.
 *
 * @return this object.
 */
public DeletionInfo add(DeletionInfo newInfo)
{
  add(newInfo.getPartitionDeletion());
  // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the
  // RangeTombstoneList directly.
  assert newInfo instanceof MutableDeletionInfo;
  RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges;
  if (ranges == null)
    ranges = newRanges == null ? null : newRanges.copy();
  else if (newRanges != null)
    ranges.addAll(newRanges);
  return this;
}
origin: com.netflix.sstableadaptor/sstable-adaptor-cassandra

/**
 * Combines another DeletionInfo with this one and returns the result.  Whichever top-level tombstone
 * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime.  The
 * range tombstones will be combined.
 *
 * @return this object.
 */
public DeletionInfo add(DeletionInfo newInfo)
{
  add(newInfo.getPartitionDeletion());
  // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the
  // RangeTombstoneList directly.
  assert newInfo instanceof MutableDeletionInfo;
  RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges;
  if (ranges == null)
    ranges = newRanges == null ? null : newRanges.copy();
  else if (newRanges != null)
    ranges.addAll(newRanges);
  return this;
}
origin: com.strapdata.cassandra/cassandra-all

/**
 * Combines another DeletionInfo with this one and returns the result.  Whichever top-level tombstone
 * has the higher markedForDeleteAt timestamp will be kept, along with its localDeletionTime.  The
 * range tombstones will be combined.
 *
 * @return this object.
 */
public DeletionInfo add(DeletionInfo newInfo)
{
  add(newInfo.getPartitionDeletion());
  // We know MutableDeletionInfo is the only impelementation and we're not mutating it, it's just to get access to the
  // RangeTombstoneList directly.
  assert newInfo instanceof MutableDeletionInfo;
  RangeTombstoneList newRanges = ((MutableDeletionInfo)newInfo).ranges;
  if (ranges == null)
    ranges = newRanges == null ? null : newRanges.copy();
  else if (newRanges != null)
    ranges.addAll(newRanges);
  return this;
}
org.apache.cassandra.dbRangeTombstoneListcopy

Popular methods of RangeTombstoneList

  • <init>
  • add
    Adds a new range tombstone. This method will be faster if the new tombstone sort after all the curre
  • addAll
    Adds all the range tombstones of tombstones to this RangeTombstoneList.
  • addInternal
  • capacity
  • comparator
  • copyArrays
  • dataSize
  • grow
  • growToFree
  • insertFrom
  • isEmpty
  • insertFrom,
  • isEmpty,
  • iterator,
  • maxMarkedAt,
  • moveElements,
  • rangeTombstone,
  • search,
  • searchInternal,
  • setInternal

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Path (java.nio.file)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for WebStorm
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