Uses of Class
com.couchbase.client.java.query.dsl.functions.DateFunctions.DatePart
| Package | Description |
|---|---|
| com.couchbase.client.java.query.dsl.functions |
Functions are
Expressions that represent predefined utility
functions in N1QL. |
-
Uses of DateFunctions.DatePart in com.couchbase.client.java.query.dsl.functions
Methods in com.couchbase.client.java.query.dsl.functions that return DateFunctions.DatePart Modifier and Type Method Description static DateFunctions.DatePartDateFunctions.DatePart. valueOf(String name)Returns the enum constant of this type with the specified name.static DateFunctions.DatePart[]DateFunctions.DatePart. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.couchbase.client.java.query.dsl.functions with parameters of type DateFunctions.DatePart Modifier and Type Method Description static ExpressionDateFunctions. dateAddMillis(Expression expression, int n, DateFunctions.DatePart part)Returned expression performs Date arithmetic, and returns result of computation.static ExpressionDateFunctions. dateAddMillis(String expression, int n, DateFunctions.DatePart part)Returned expression performs Date arithmetic, and returns result of computation.static ExpressionDateFunctions. dateAddStr(Expression expression, int n, DateFunctions.DatePart part)Returned expression results in Performs Date arithmetic.static ExpressionDateFunctions. dateAddStr(String expression, int n, DateFunctions.DatePart part)Returned expression results in Performs Date arithmetic.static ExpressionDateFunctions. dateDiffMillis(Expression expression1, Expression expression2, DateFunctions.DatePart part)Returned expression results in Date arithmetic.static ExpressionDateFunctions. dateDiffMillis(String expression1, String expression2, DateFunctions.DatePart part)Returned expression results in Date arithmetic.static ExpressionDateFunctions. dateDiffStr(Expression expression1, Expression expression2, DateFunctions.DatePart part)Returned expression results in Performs Date arithmetic.static ExpressionDateFunctions. dateDiffStr(String expression1, String expression2, DateFunctions.DatePart part)Returned expression results in Performs Date arithmetic.static ExpressionDateFunctions. dateTruncMillis(Expression expression, DateFunctions.DatePart part)Returned expression results in UNIX timestamp that has been truncated so that the given date part is the least significant.static ExpressionDateFunctions. dateTruncMillis(String expression, DateFunctions.DatePart part)Returned expression results in UNIX timestamp that has been truncated so that the given date part is the least significant.static ExpressionDateFunctions. dateTruncStr(Expression expression, DateFunctions.DatePart part)Returned expression results in ISO 8601 timestamp that has been truncated so that the given date part is the least significant.static ExpressionDateFunctions. dateTruncStr(String expression, DateFunctions.DatePart part)Returned expression results in ISO 8601 timestamp that has been truncated so that the given date part is the least significant.