|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.samskivert.jdbc.depot.expression.EpochSeconds
public class EpochSeconds
An expression for extracting the seconds since the epoch from a date expression.
| Field Summary | |
|---|---|
protected SQLExpression |
_arg
The argument. |
| Constructor Summary | |
|---|---|
EpochSeconds(SQLExpression arg)
Create a new EpochSeconds with the given argument. |
|
| Method Summary | |
|---|---|
void |
accept(ExpressionVisitor builder)
Most uses of this class have been implemented with a visitor pattern. |
void |
addClasses(Collection<Class<? extends PersistentRecord>> classSet)
Adds all persistent classes that are brought into the SQL context by this clause: FROM clauses, JOINs, UPDATEs, anything that could create a new table abbreviation. |
SQLExpression |
getArgument()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SQLExpression _arg
| Constructor Detail |
|---|
public EpochSeconds(SQLExpression arg)
| Method Detail |
|---|
public void accept(ExpressionVisitor builder)
throws Exception
SQLExpressionExpressionVisitor and call this method with it.
accept in interface SQLExpressionExceptionSQLBuilderpublic void addClasses(Collection<Class<? extends PersistentRecord>> classSet)
SQLExpression
addClasses in interface SQLExpressionpublic SQLExpression getArgument()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||