@Test public void testRowRange() { Assert.assertEquals(new Span(rw1b, true, rw2b, false), Span.newBuilder().startRow(rw1b).endRow(rw2b).exclusive().build()); Assert.assertEquals(new Span(rw1b, false, rw2b, false), Span.newBuilder().startRow(rw1b).exclusive().endRow(rw2b).exclusive().build()); Assert.assertEquals(new Span(rw1b, true, rw2b, true), Span.newBuilder().startRow(rw1b).endRow(rw2b).build()); Assert.assertEquals(new Span(rw1b, false, rw2b, true), Span.newBuilder().startRow(rw1b).exclusive().endRow(rw2b).build()); Assert.assertEquals(new Span(rw1b, true, rw2b, false), Span.newBuilder().startRow(rw1s).endRow(rw2s).exclusive().build()); Assert.assertEquals(new Span(rw1b, false, rw2b, false), Span.newBuilder().startRow(rw1s).exclusive().endRow(rw2s).exclusive().build()); Assert.assertEquals(new Span(rw1b, true, rw2b, true), Span.newBuilder().startRow(rw1s).endRow(rw2s).build()); Assert.assertEquals(new Span(rw1b, false, rw2b, true), Span.newBuilder().startRow(rw1s).exclusive().endRow(rw2s).build()); }
public static Builder newBuilder() { return new Builder(); }
Span implements Serializable { public static Builder newBuilder() { return new Builder(); } }
Span implements Serializable { public static Builder newBuilder() { return new Builder(); } Span(); private  Span(Builder builder);  Span(RowColumn start, boolean startInclusive, RowColumn end, boolean endInclusive);  Span(Bytes startRow, boolean startRowInclusive, Bytes endRow, boolean endRowInclusive);  Span(CharSequence startRow, boolean startRowInclusive, CharSequence endRow,
      boolean endRowInclusive); }
Span implements Serializable { public static Builder newBuilder() { return new Builder(); } Span(); private  Span(Builder builder);  Span(RowColumn start, boolean startInclusive, RowColumn end, boolean endInclusive);  Span(Bytes startRow, boolean startRowInclusive, Bytes endRow, boolean endRowInclusive);  Span(CharSequence startRow, boolean startRowInclusive, CharSequence endRow,
      boolean endRowInclusive); RowColumn getStart(); RowColumn getEnd(); boolean isStartInclusive(); boolean isEndInclusive(); @Override boolean equals(Object o); boolean equals(Span other); @Override String toString(); @Override int hashCode(); static Span exact(Bytes row); static Span exact(CharSequence row); static Span exact(Bytes row, Column col); static Span exact(CharSequence row, Column col); static Span prefix(Bytes rowPrefix); static Span prefix(CharSequence rowPrefix); static Span prefix(Bytes row, Column colPrefix); static Span prefix(CharSequence row, Column colPrefix); static Builder newBuilder(); }
Span implements Serializable { public static Builder newBuilder() { return new Builder(); } Span(); private  Span(Builder builder);  Span(RowColumn start, boolean startInclusive, RowColumn end, boolean endInclusive);  Span(Bytes startRow, boolean startRowInclusive, Bytes endRow, boolean endRowInclusive);  Span(CharSequence startRow, boolean startRowInclusive, CharSequence endRow,
      boolean endRowInclusive); RowColumn getStart(); RowColumn getEnd(); boolean isStartInclusive(); boolean isEndInclusive(); @Override boolean equals(Object o); boolean equals(Span other); @Override String toString(); @Override int hashCode(); static Span exact(Bytes row); static Span exact(CharSequence row); static Span exact(Bytes row, Column col); static Span exact(CharSequence row, Column col); static Span prefix(Bytes rowPrefix); static Span prefix(CharSequence rowPrefix); static Span prefix(Bytes row, Column colPrefix); static Span prefix(CharSequence row, Column colPrefix); static Builder newBuilder();  }