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 String
alias()
The alias for the eventing function.static EventingFunctionConstantBinding
create(String alias, String literal)
Creates a newEventingFunctionConstantBinding
.String
literal()
The literal for the eventing function.String
toString()
-
-
-
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.
-
-