InsertionMethod

class InsertionMethod(importType: ImportType, namePath: List<String>, typePath: List<String>, availabilityPredicate: Predicate<JsonNode>, matchingKeyPredicate: Predicate<JsonNode>?, requiredPredicate: Predicate<JsonNode>, typeMapper: Map<String, AirbyteType>)

Describes the information related to how data is inserted in an object.

Note that if matchingKeyPredicate is provided, it needs to return true to at least one of the properties. If this is not the case, the insertion method for this object will not be returned as part of the discover command. If not provided, it means that it is expected not to have matching keys.

Constructors

Link copied to clipboard
constructor(importType: ImportType, namePath: List<String>, typePath: List<String>, availabilityPredicate: Predicate<JsonNode>, matchingKeyPredicate: Predicate<JsonNode>?, requiredPredicate: Predicate<JsonNode>, typeMapper: Map<String, AirbyteType>)

Functions

Link copied to clipboard
fun createProperty(apiRepresentation: JsonNode): DiscoveredProperty
Link copied to clipboard
Link copied to clipboard