public class QuerySpec extends Object implements Externalizable
Constructor and Description |
---|
QuerySpec()
Deprecated.
This is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
Deprecated.
This method returns the expression.
|
String |
getFormat()
Deprecated.
This method returns the format.
|
long |
getFromTimestamp()
Deprecated.
This method gets the 'from' timestamp.
|
long |
getToTimestamp()
Deprecated.
This method gets the 'to' timestamp.
|
void |
readExternal(ObjectInput in)
Deprecated.
|
QuerySpec |
setExpression(String expr)
Deprecated.
This method sets the expression.
|
QuerySpec |
setFormat(String format)
Deprecated.
This method sets the format.
|
QuerySpec |
setFromTimestamp(long from)
Deprecated.
This method sets the 'from' timestamp.
|
QuerySpec |
setToTimestamp(long to)
Deprecated.
This method sets the 'to' timestamp.
|
String |
toString()
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
public QuerySpec setFromTimestamp(long from)
from
- The 'from' timetamppublic long getFromTimestamp()
public QuerySpec setToTimestamp(long to)
to
- The 'to' timetamppublic long getToTimestamp()
public QuerySpec setExpression(String expr)
expr
- The expressionpublic String getExpression()
public QuerySpec setFormat(String format)
format
- The formatpublic String getFormat()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.