Class EventingFunctionConstantBinding
- java.lang.Object
-
- com.couchbase.client.java.manager.eventing.EventingFunctionConstantBinding
-
public class EventingFunctionConstantBinding extends Object
Represents a constant binding of an eventing function.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringalias()The alias for the eventing function.static EventingFunctionConstantBindingcreate(String alias, String literal)Creates a newEventingFunctionConstantBinding.Stringliteral()The literal for the eventing function.StringtoString()
-
-
-
Method Detail
-
create
public static EventingFunctionConstantBinding create(String alias, String literal)
Creates a newEventingFunctionConstantBinding.- Parameters:
alias- the alias for the constant binding.literal- the literal of the constant binding (the constant itself).- Returns:
- a new instance of the
EventingFunctionConstantBinding.
-
alias
public String alias()
The alias for the eventing function.
-
literal
public String literal()
The literal for the eventing function.
-
-