Class Lookup
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataintegration.model.Operator
-
- com.oracle.bmc.dataintegration.model.Lookup
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class Lookup extends Operator
The information about the lookup operator.The lookup operator has two input links, a primary input, and a lookup source input. It has an output link, fields of the lookup input are appended to the primary input and projected as the output fields.
Note: Objects should always be created or deserialized using theLookup.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theLookup.Builder
, which maintain a set of all explicitly set fields calledLookup.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Lookup.Builder
static class
Lookup.MultiMatchStrategy
if there are multiple records found in the lookup input what action should be performed.-
Nested classes/interfaces inherited from class com.oracle.bmc.dataintegration.model.Operator
Operator.ModelType
-
-
Constructor Summary
Constructors Constructor Description Lookup(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, List<InputPort> inputPorts, List<TypedObject> outputPorts, Integer objectStatus, String identifier, List<Parameter> parameters, ConfigValues opConfigValues, Expression lookupCondition, Boolean isSkipNoMatch, Lookup.MultiMatchStrategy multiMatchStrategy, Map<String,Object> nullFillValues)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Lookup.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getIsSkipNoMatch()
For the rows for which lookup condition does not satisfy, if set to true - do not return those rows of primary Input source and if set to false - create a row with primary input fields values and lookup field values as NULL.Expression
getLookupCondition()
Lookup.MultiMatchStrategy
getMultiMatchStrategy()
if there are multiple records found in the lookup input what action should be performed.Map<String,Object>
getNullFillValues()
this map is used for replacing NULL values in the record.int
hashCode()
Lookup.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.dataintegration.model.Operator
getDescription, getIdentifier, getInputPorts, getKey, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef
-
-
-
-
Constructor Detail
-
Lookup
@Deprecated public Lookup(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, List<InputPort> inputPorts, List<TypedObject> outputPorts, Integer objectStatus, String identifier, List<Parameter> parameters, ConfigValues opConfigValues, Expression lookupCondition, Boolean isSkipNoMatch, Lookup.MultiMatchStrategy multiMatchStrategy, Map<String,Object> nullFillValues)
Deprecated.
-
-
Method Detail
-
builder
public static Lookup.Builder builder()
Create a new builder.
-
toBuilder
public Lookup.Builder toBuilder()
-
getLookupCondition
public Expression getLookupCondition()
-
getIsSkipNoMatch
public Boolean getIsSkipNoMatch()
For the rows for which lookup condition does not satisfy, if set to true - do not return those rows of primary Input source and if set to false - create a row with primary input fields values and lookup field values as NULL.- Returns:
- the value
-
getMultiMatchStrategy
public Lookup.MultiMatchStrategy getMultiMatchStrategy()
if there are multiple records found in the lookup input what action should be performed.The default value for this field is RETURN_ANY.
- Returns:
- the value
-
getNullFillValues
public Map<String,Object> getNullFillValues()
this map is used for replacing NULL values in the record.Key is the column name and value is the NULL replacement.
- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-