org.apache.cassandra.cql
Class Attributes
java.lang.Object
org.apache.cassandra.cql.Attributes
public class Attributes
- extends java.lang.Object
Class to contain attributes for statements
Constructor Summary |
Attributes()
|
Attributes(org.apache.cassandra.thrift.ConsistencyLevel cLevel,
java.lang.Long timestamp,
int timeToLive)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Attributes
public Attributes()
Attributes
public Attributes(org.apache.cassandra.thrift.ConsistencyLevel cLevel,
java.lang.Long timestamp,
int timeToLive)
getConsistencyLevel
public org.apache.cassandra.thrift.ConsistencyLevel getConsistencyLevel()
setConsistencyLevel
public void setConsistencyLevel(org.apache.cassandra.thrift.ConsistencyLevel cLevel)
getTimestamp
public java.lang.Long getTimestamp()
setTimestamp
public void setTimestamp(java.lang.Long timestamp)
getTimeToLive
public int getTimeToLive()
setTimeToLive
public void setTimeToLive(int timeToLive)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 The Apache Software Foundation