/** * Create record expiration time predicate expressed in nanoseconds since 1970-01-01 epoch as 64 bit integer. * Example: * <pre> * // Record expires on 2020-01-01 * PredExp.recVoidTime() * PredExp.integerValue(new GregorianCalendar(2020, 0, 1)) * PredExp.integerGreaterEq() * PredExp.recVoidTime() * PredExp.integerValue(new GregorianCalendar(2020, 0, 2)) * PredExp.integerLess() * PredExp.and(2) * </pre> */ public static PredExp recVoidTime() { return new Op(VOID_TIME); }
/** * Create record expiration time predicate expressed in nanoseconds since 1970-01-01 epoch as 64 bit integer. * Example: * <pre> * // Record expires on 2020-01-01 * PredExp.recVoidTime() * PredExp.integerValue(new GregorianCalendar(2020, 0, 1)) * PredExp.integerGreaterEq() * PredExp.recVoidTime() * PredExp.integerValue(new GregorianCalendar(2020, 0, 2)) * PredExp.integerLess() * PredExp.and(2) * </pre> */ public static PredExp recVoidTime() { return new Op(VOID_TIME); }
/** * Create geospatial json "contains" predicate. */ public static PredExp geoJSONContains() { return new Op(GEOJSON_CONTAINS); }
/** * Create string "!=" operation predicate. */ public static PredExp stringUnequal() { return new Op(STRING_UNEQUAL); }
/** * Create 64 bit integer "<" operation predicate. */ public static PredExp integerLess() { return new Op(INTEGER_LESS); }
/** * Create 64 bit integer ">=" operation predicate. */ public static PredExp integerGreaterEq() { return new Op(INTEGER_GREATEREQ); }
/** * Create 64 bit integer "=" operation predicate. */ public static PredExp integerEqual() { return new Op(INTEGER_EQUAL); }
/** * Create record last update time predicate expressed in nanoseconds since 1970-01-01 epoch as 64 bit integer. * Example: * <pre> * // Record last update time >= 2017-01-15 * PredExp.recLastUpdate() * PredExp.integerValue(new GregorianCalendar(2017, 0, 15)) * PredExp.integerGreaterEq() * </pre> */ public static PredExp recLastUpdate() { return new Op(LAST_UPDATE); }
/** * Create geospatial json "within" predicate. */ public static PredExp geoJSONWithin() { return new Op(GEOJSON_WITHIN); }
/** * Create string "!=" operation predicate. */ public static PredExp stringUnequal() { return new Op(STRING_UNEQUAL); }
/** * Create string "=" operation predicate. */ public static PredExp stringEqual() { return new Op(STRING_EQUAL); }
/** * Create 64 bit integer ">=" operation predicate. */ public static PredExp integerGreaterEq() { return new Op(INTEGER_GREATEREQ); }
/** * Create record size on disk predicate. */ public static PredExp recDeviceSize() { return new Op(RECSIZE); }
/** * Create record last update time predicate expressed in nanoseconds since 1970-01-01 epoch as 64 bit integer. * Example: * <pre> * // Record last update time >= 2017-01-15 * PredExp.recLastUpdate() * PredExp.integerValue(new GregorianCalendar(2017, 0, 15)) * PredExp.integerGreaterEq() * </pre> */ public static PredExp recLastUpdate() { return new Op(LAST_UPDATE); }
/** * Create geospatial json "within" predicate. */ public static PredExp geoJSONWithin() { return new Op(GEOJSON_WITHIN); }
/** * Create "not" expression. */ public static PredExp not() { return new Op(NOT); }
/** * Create 64 bit integer "<" operation predicate. */ public static PredExp integerLess() { return new Op(INTEGER_LESS); }
/** * Create 64 bit integer ">" operation predicate. */ public static PredExp integerGreater() { return new Op(INTEGER_GREATER); }
/** * Create 64 bit integer "=" operation predicate. */ public static PredExp integerEqual() { return new Op(INTEGER_EQUAL); }
/** * Create 64 bit integer ">" operation predicate. */ public static PredExp integerGreater() { return new Op(INTEGER_GREATER); }