com.datastax.stargate.sdk.doc.domain.DocumentFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.doc.domain;
/**
* List built-in functions in a namespace.
*
* @author Cedrick LUNVEN (@clunven)
*/
public enum DocumentFunction {
/**
* Add an item to a list.
*/
PUSH("$push"),
/**
* Pop an item from a list.
*/
POP("$pop");
private String operation;
/**
* Initialization of a function.
*
* @param op
* current operation
*/
private DocumentFunction(String op) {
this.operation = op;
}
/**
* Getter for the operation.
*
* @return
* target operation
*/
public String getOperation() {
return operation;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy