All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avos.avoscloud.ops.AVOp Maven / Gradle / Ivy

package com.avos.avoscloud.ops;

import java.util.Map;

import com.avos.avoscloud.AVObject;

/**
 * A avoscloud operation
 * 
 * @author apple
 * 
 */
public interface AVOp extends Iterable {

  public static enum OpType {
    Set, Increment, AddUnique, Add, Remove, AddRelation, RemoveRelation, Delete, Null, Compound
  }

  public  T cast(Class clazz);

  public String key();

  public OpType type();

  public Object apply(Object obj);

  public AVOp merge(AVOp other);

  public int size();

  public AVOp get(int idx);

  public AVOp remove(int idx);

  public Map encodeOp();

  public Object getValues();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy