public class JsonPatternBasedDiscovery extends PatternBasedDiscovery
DEFAULT_PATTERNS
Constructor and Description |
---|
JsonPatternBasedDiscovery() |
JsonPatternBasedDiscovery(List<TypePattern> patterns) |
Modifier and Type | Method and Description |
---|---|
static List<List<String>> |
convertJsonAnalysis(List<String> fieldNames,
List<com.fasterxml.jackson.databind.JsonNode> recordData) |
static List<List<String>> |
convertJsonAnalysis(List<String> fieldNames,
List<com.fasterxml.jackson.databind.JsonNode> recordData,
String nullIndicator) |
TextRecord |
discoverForRead(List<String> fieldNames,
List<com.fasterxml.jackson.databind.JsonNode> jsonRecords,
TextConversionDefaults defaults,
boolean includeObjects) |
discoverForRead, generateForWrite, mergeTypes, predictType
public JsonPatternBasedDiscovery()
public JsonPatternBasedDiscovery(List<TypePattern> patterns)
public TextRecord discoverForRead(List<String> fieldNames, List<com.fasterxml.jackson.databind.JsonNode> jsonRecords, TextConversionDefaults defaults, boolean includeObjects)
public static List<List<String>> convertJsonAnalysis(List<String> fieldNames, List<com.fasterxml.jackson.databind.JsonNode> recordData)
Copyright © 2021 Actian Corporation. All rights reserved.