Returns the timestamp as stored in HBase for the cell, i.e. in seconds or milliseconds @param base_time Row key base time to add the offset to @return Unix epoch timestamp
(final long base_time)
| 415 | * @return Unix epoch timestamp |
| 416 | */ |
| 417 | public long absoluteTimestamp(final long base_time) { |
| 418 | final long timestamp = getTimestampFromQualifier(qualifier, base_time); |
| 419 | if (inMilliseconds(qualifier)) { |
| 420 | return timestamp; |
| 421 | } else { |
| 422 | return timestamp / 1000; |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | /** @return Whether or not the value is an integer */ |
| 427 | public boolean isInteger() { |
no test coverage detected