@Test public void testToString() { RowCell rowCell = new RowCell( "mykey".getBytes(), "myfamily".getBytes(), "myqualifier".getBytes(), 1487963474314L, "myvalue".getBytes()); String result = rowCell.toString(); MatcherAssert.assertThat(result, containsString("key")); MatcherAssert.assertThat(result, containsString("family")); MatcherAssert.assertThat(result, containsString("qualifier")); MatcherAssert.assertThat(result, containsString("1487963474314")); }
@Override public String toString() { if (this.rowArray == null || this.rowArray.length == 0) { return ""; } return Bytes.toStringBinary(this.rowArray) + "/" + (familyArray.length > 0 ? Bytes.toStringBinary(familyArray) : "") + (familyArray.length > 0 ? ":" : "") + (qualifierArray.length > 0 ? Bytes.toStringBinary(qualifierArray) : "") + "/" + (KeyValue.humanReadableTimestamp(timestamp)) + "/" + Type.codeToType(getTypeByte()); }
RowCell implements Cell { @Override public String toString() { if (this.rowArray == null || this.rowArray.length == 0) { return ""; } return Bytes.toStringBinary(this.rowArray) + "/" + (familyArray.length > 0 ? Bytes.toStringBinary(familyArray) : "") + (familyArray.length > 0 ? ":" : "") + (qualifierArray.length > 0 ? Bytes.toStringBinary(qualifierArray) : "") + "/" + (KeyValue.humanReadableTimestamp(timestamp)) + "/" + Type.codeToType(getTypeByte()); } }
RowCell implements Cell { @Override public String toString() { if (this.rowArray == null || this.rowArray.length == 0) { return ""; } return Bytes.toStringBinary(this.rowArray) + "/" + (familyArray.length > 0 ? Bytes.toStringBinary(familyArray) : "") + (familyArray.length > 0 ? ":" : "") + (qualifierArray.length > 0 ? Bytes.toStringBinary(qualifierArray) : "") + "/" + (KeyValue.humanReadableTimestamp(timestamp)) + "/" + Type.codeToType(getTypeByte()); } RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray);  RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray,
      List<String> labels); }
RowCell implements Cell { @Override public String toString() { if (this.rowArray == null || this.rowArray.length == 0) { return ""; } return Bytes.toStringBinary(this.rowArray) + "/" + (familyArray.length > 0 ? Bytes.toStringBinary(familyArray) : "") + (familyArray.length > 0 ? ":" : "") + (qualifierArray.length > 0 ? Bytes.toStringBinary(qualifierArray) : "") + "/" + (KeyValue.humanReadableTimestamp(timestamp)) + "/" + Type.codeToType(getTypeByte()); } RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray);  RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray,
      List<String> labels); @Override byte[] getRowArray(); @Override int getRowOffset(); @Override short getRowLength(); @Override byte[] getFamilyArray(); @Override int getFamilyOffset(); @Override byte getFamilyLength(); @Override byte[] getQualifierArray(); @Override int getQualifierOffset(); @Override int getQualifierLength(); @Override long getTimestamp(); @Override byte getTypeByte(); @Deprecated @Override long getMvccVersion(); @Override long getSequenceId(); @Override byte[] getValueArray(); @Override int getValueOffset(); @Override int getValueLength(); @Override byte[] getTagsArray(); @Override int getTagsOffset(); @Override int getTagsLength(); @Deprecated @Override byte[] getValue(); @Deprecated @Override byte[] getFamily(); @Deprecated @Override byte[] getQualifier(); @Deprecated @Override byte[] getRow(); List<String> getLabels(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
RowCell implements Cell { @Override public String toString() { if (this.rowArray == null || this.rowArray.length == 0) { return ""; } return Bytes.toStringBinary(this.rowArray) + "/" + (familyArray.length > 0 ? Bytes.toStringBinary(familyArray) : "") + (familyArray.length > 0 ? ":" : "") + (qualifierArray.length > 0 ? Bytes.toStringBinary(qualifierArray) : "") + "/" + (KeyValue.humanReadableTimestamp(timestamp)) + "/" + Type.codeToType(getTypeByte()); } RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray);  RowCell(
      byte[] rowArray,
      byte[] familyArray,
      byte[] qualifierArray,
      long timestamp,
      byte[] valueArray,
      List<String> labels); @Override byte[] getRowArray(); @Override int getRowOffset(); @Override short getRowLength(); @Override byte[] getFamilyArray(); @Override int getFamilyOffset(); @Override byte getFamilyLength(); @Override byte[] getQualifierArray(); @Override int getQualifierOffset(); @Override int getQualifierLength(); @Override long getTimestamp(); @Override byte getTypeByte(); @Deprecated @Override long getMvccVersion(); @Override long getSequenceId(); @Override byte[] getValueArray(); @Override int getValueOffset(); @Override int getValueLength(); @Override byte[] getTagsArray(); @Override int getTagsOffset(); @Override int getTagsLength(); @Deprecated @Override byte[] getValue(); @Deprecated @Override byte[] getFamily(); @Deprecated @Override byte[] getQualifier(); @Deprecated @Override byte[] getRow(); List<String> getLabels(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }