Class NessieConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe actual API version that was used to handle the REST request to the configuration endpoint.Additional properties, currently undefined and always empty (not present in JSON).static NessieConfigurationabstract @Size @Size(min=1) StringThe name of the default branch that the server will use unless an explicit branch was specified as an API call parameter.abstract intThe maximum API version supported by the server.intThe minimum API version supported by the server.abstract StringThe so called no-ancestor-hash defines the commit-ID of the "beginning of time" in the repository.abstract InstantTimestamp of the oldest possible commit in the repository.abstract InstantTimestamp when the repository has been created.abstract StringSemver version representing the behavior of the Nessie server.
-
Constructor Details
-
NessieConfiguration
public NessieConfiguration()
-
-
Method Details
-
getDefaultBranch
The name of the default branch that the server will use unless an explicit branch was specified as an API call parameter. -
getMinSupportedApiVersion
@Default public int getMinSupportedApiVersion()The minimum API version supported by the server.API versions are numbered sequentially, as they are developed.
-
getMaxSupportedApiVersion
public abstract int getMaxSupportedApiVersion()The maximum API version supported by the server.API versions are numbered sequentially, as they are developed.
-
getActualApiVersion
@Default public int getActualApiVersion()The actual API version that was used to handle the REST request to the configuration endpoint.If this value is 0, then the server does not support returning the actual API version. Otherwise, this value is guaranteed to be between
getMinSupportedApiVersion()andgetMaxSupportedApiVersion()(inclusive). -
getSpecVersion
Semver version representing the behavior of the Nessie server.Additional functionality might be added to Nessie servers within a "spec major version" in a non-breaking way. Clients are encouraged to check the spec version when using such added functionality.
-
getNoAncestorHash
The so called no-ancestor-hash defines the commit-ID of the "beginning of time" in the repository. The very first commit will have the value returned by this function as its parent commit-ID. A commit with this value does never exist. -
getRepositoryCreationTimestamp
Timestamp when the repository has been created.The value is only returned, if the server supports this attribute.
-
getOldestPossibleCommitTimestamp
Timestamp of the oldest possible commit in the repository.For new repositories, this is likely the same as
getRepositoryCreationTimestamp(). For imported repositories, this shall be the timestamp of the oldest commit.The value is only returned, if the server supports this attribute.
-
getAdditionalProperties
Additional properties, currently undefined and always empty (not present in JSON). -
getBuiltInConfig
-