Package com.sap.ai.sdk.grounding.model
Class Left1
java.lang.Object
com.sap.ai.sdk.grounding.model.Left1
Left operand of the boolean expression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumBoolean operator for combining filter conditionsstatic enumScope of the metadata filter (e.g., collection, document, chunk) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValueItem(String valueItem) Add one value instance to thisLeft1.static Left1.Buildercreate()Create a type-safe, fluent-api builder object to construct a newLeft1instance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theLeft1.getKey()Get keygetLeft()Get leftBoolean operator for combining filter conditionsgetRight()Get rightgetScope()Scope of the metadata filter (e.g., collection, document, chunk)getValue()Get valueinthashCode()Set the key of thisLeft1instance and return the same instance.Set the left of thisLeft1instance and return the same instance.operator(Left1.OperatorEnum operator) Set the operator of thisLeft1instance and return the same instance.Set the right of thisLeft1instance and return the same instance.scope(Left1.ScopeEnum scope) Set the scope of thisLeft1instance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisLeft1instance.voidSet the key of thisLeft1instance.voidSet the left of thisLeft1instance.voidsetOperator(Left1.OperatorEnum operator) Set the operator of thisLeft1instance.voidSet the right of thisLeft1instance.voidsetScope(Left1.ScopeEnum scope) Set the scope of thisLeft1instance.voidSet the value of thisLeft1instance.toMap()Get the value of all properties of thisLeft1instance including unrecognized properties.toString()Set the value of thisLeft1instance and return the same instance.
-
Constructor Details
-
Left1
protected Left1()Default constructor for Left1.
-
-
Method Details
-
operator
Set the operator of thisLeft1instance and return the same instance.- Parameters:
operator- Boolean operator for combining filter conditions- Returns:
- The same instance of this
Left1class
-
getOperator
Boolean operator for combining filter conditions- Returns:
- operator The operator of this
Left1instance.
-
setOperator
Set the operator of thisLeft1instance.- Parameters:
operator- Boolean operator for combining filter conditions
-
left
Set the left of thisLeft1instance and return the same instance. -
getLeft
Get left- Returns:
- left The left of this
Left1instance.
-
setLeft
Set the left of thisLeft1instance.- Parameters:
left- The left of thisLeft1
-
right
Set the right of thisLeft1instance and return the same instance. -
getRight
Get right- Returns:
- right The right of this
Left1instance.
-
setRight
Set the right of thisLeft1instance.- Parameters:
right- The right of thisLeft1
-
key
Set the key of thisLeft1instance and return the same instance. -
getKey
Get key- Returns:
- key The key of this
Left1instance.
-
setKey
Set the key of thisLeft1instance.- Parameters:
key- The key of thisLeft1
-
value
Set the value of thisLeft1instance and return the same instance. -
addValueItem
Add one value instance to thisLeft1.- Parameters:
valueItem- The value that should be added- Returns:
- The same instance of type
Left1
-
getValue
Get value- Returns:
- value The value of this
Left1instance.
-
setValue
Set the value of thisLeft1instance.- Parameters:
value- The value of thisLeft1
-
scope
Set the scope of thisLeft1instance and return the same instance.- Parameters:
scope- Scope of the metadata filter (e.g., collection, document, chunk)- Returns:
- The same instance of this
Left1class
-
getScope
Scope of the metadata filter (e.g., collection, document, chunk)- Returns:
- scope The scope of this
Left1instance.
-
setScope
Set the scope of thisLeft1instance.- Parameters:
scope- Scope of the metadata filter (e.g., collection, document, chunk)
-
getCustomFieldNames
Get the names of the unrecognizable properties of theLeft1.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisLeft1instance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisLeft1instance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisLeft1instance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newLeft1instance with all required arguments.
-
toMap()instead.