@org.apache.thrift.annotation.Nullable public java.lang.Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return getTimestamp(); } throw new java.lang.IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return Long.valueOf(getTimestamp()); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return Long.valueOf(getTimestamp()); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return getTimestamp(); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return Long.valueOf(getTimestamp()); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case VALUE: return getValue(); case TIMESTAMP: return getTimestamp(); } throw new IllegalStateException(); }
private List<Row> convertResultToRows(List<TRowResult> tRowResultList) { List<Row> result = new ArrayList<Row>(); for (TRowResult tRowResult : tRowResultList) { Row row = new Row(new String(tRowResult.getRow())); Map<ByteBuffer, TCell> columns = tRowResult.getColumns(); for (Entry<ByteBuffer, TCell> entry : columns.entrySet()) { TCell tCell = entry.getValue(); row.add(new String(entry.getKey().array()), tCell.getValue(), tCell.getTimestamp()); } result.add(row); } return result; }