Package org.tarantool.core.impl

Examples of org.tarantool.core.impl.OperationImpl


   * @param value
   *            a int.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation or(int fieldNo, int value) {
    return new OperationImpl(Updates.OR, fieldNo, intArg(value));
  }
View Full Code Here


   * @param value
   *            a long.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation or(int fieldNo, long value) {
    return new OperationImpl(Updates.OR, fieldNo, longArg(value));
  }
View Full Code Here

   * @param insert
   *            an array of byte.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation splice(int fieldNo, int removeFrom, int removeLength, byte[] insert) {
    return new OperationImpl(Updates.SPLICE, fieldNo, new Tuple(3).setInt(0, removeFrom).setInt(1, removeLength).setBytes(2, insert));
  }
View Full Code Here

   * @param args
   *            a {@link org.tarantool.core.Tuple} object.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation set(int fieldNo, Tuple args) {
    return new OperationImpl(Updates.SET, fieldNo, args);
  }
View Full Code Here

   * @param args
   *            a {@link org.tarantool.core.Tuple} object.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation splice(int fieldNo, Tuple args) {
    return new OperationImpl(Updates.SPLICE, fieldNo, args);
  }
View Full Code Here

   * @param fieldNo
   *            a int.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation delete(int fieldNo) {
    return new OperationImpl(Updates.DELETE, fieldNo, intArg(1));
  }
View Full Code Here

   * @param args
   *            a {@link org.tarantool.core.Tuple} object.
   * @return a {@link org.tarantool.core.Operation} object.
   */
  public static Operation insert(int fieldNo, Tuple args) {
    return new OperationImpl(Updates.INSERT, fieldNo, args);
  }
View Full Code Here

TOP

Related Classes of org.tarantool.core.impl.OperationImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.