public static class TSDataScanDir.MetaData extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddSingleRecord()
If the file supports adding records one at a time.
|
boolean |
equals(Object obj) |
static Optional<TSDataScanDir.MetaData> |
fromFile(Path filename) |
org.joda.time.DateTime |
getBegin()
The lowest timestamp in the file.
|
org.joda.time.DateTime |
getEnd()
The highest timestamp in the file.
|
Path |
getFileName()
The name of the file.
|
long |
getFileSize()
The size of the file.
|
short |
getVersionMajor()
The major version of the file data.
|
short |
getVersionMinor()
The minor version of the file data.
|
int |
hashCode() |
boolean |
isUpgradable()
Check if the file is upgradable to the latest version of the file
data used by the implementation.
|
public static Optional<TSDataScanDir.MetaData> fromFile(Path filename)
public Path getFileName()
public org.joda.time.DateTime getBegin()
public org.joda.time.DateTime getEnd()
public short getVersionMajor()
public short getVersionMinor()
public long getFileSize()
public boolean canAddSingleRecord()
public boolean isUpgradable()
Copyright © 2016. All rights reserved.