public class Attributes
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Attributes.Raw |
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_TTL
If this limit is ever raised, make sure @
Integer.MAX_VALUE is not allowed,
as this is used as a flag to represent expired liveness. |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunctionsTo(java.util.List<Function> functions) |
void |
collectMarkerSpecification(VariableSpecifications boundNames) |
long |
getTimestamp(long now,
QueryOptions options) |
int |
getTimeToLive(QueryOptions options,
TableMetadata metadata) |
boolean |
isTimestampSet() |
boolean |
isTimeToLiveSet() |
static Attributes |
none() |
java.lang.String |
toString() |
public static final int MAX_TTL
Integer.MAX_VALUE is not allowed,
as this is used as a flag to represent expired liveness.
See LivenessInfo.EXPIRED_LIVENESS_TTLpublic static Attributes none()
public void addFunctionsTo(java.util.List<Function> functions)
public boolean isTimestampSet()
public boolean isTimeToLiveSet()
public long getTimestamp(long now,
QueryOptions options)
throws InvalidRequestException
InvalidRequestExceptionpublic int getTimeToLive(QueryOptions options, TableMetadata metadata) throws InvalidRequestException
InvalidRequestExceptionpublic void collectMarkerSpecification(VariableSpecifications boundNames)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2022 The Apache Software Foundation