/** * Decrementation of a counter column by a provided value. * <p> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, long value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, long value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value a bind marker representing the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Incrementation of a counter column by a provided value. * <p> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, long value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, long value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, long value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value a bind marker representing the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, long value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value a bind marker representing the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, long value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value a bind marker representing the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value a bind marker representing the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Incrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, long value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Decrementation of a counter column by a provided value. * <p/> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value a bind marker representing the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Decrementation of a counter column by a provided value. * <p> * This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value a bind marker representing the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * <p> * This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value a bind marker representing the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Decrementation of a counter column by a provided value. * * <p>This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value a bind marker representing the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Decrementation of a counter column by a provided value. * * <p>This will generate: {@code name = name - value}. * * @param name the column name to decrement * @param value the value by which to decrement * @return the correspond assignment (to use in an update query) */ public static Assignment decr(String name, long value) { return new Assignment.CounterAssignment(name, value, false); }
/** * Incrementation of a counter column by a provided value. * * <p>This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value a bind marker representing the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, BindMarker value) { return new Assignment.CounterAssignment(name, value, true); }
/** * Incrementation of a counter column by a provided value. * * <p>This will generate: {@code name = name + value}. * * @param name the column name to increment * @param value the value by which to increment * @return the correspond assignment (to use in an update query) */ public static Assignment incr(String name, long value) { return new Assignment.CounterAssignment(name, value, true); }