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<org.codehaus.jackson.JsonNode> recordData) |
static List<List<String>> |
convertJsonAnalysis(List<String> fieldNames,
List<org.codehaus.jackson.JsonNode> recordData,
String nullIndicator) |
TextRecord |
discoverForRead(List<String> fieldNames,
List<org.codehaus.jackson.JsonNode> jsonRecords,
TextConversionDefaults defaults,
boolean includeObjects) |
discoverForRead, generateForWrite, mergeTypes, predictType
public JsonPatternBasedDiscovery()
public JsonPatternBasedDiscovery(List<TypePattern> patterns)
public TextRecord discoverForRead(List<String> fieldNames, List<org.codehaus.jackson.JsonNode> jsonRecords, TextConversionDefaults defaults, boolean includeObjects)
public static List<List<String>> convertJsonAnalysis(List<String> fieldNames, List<org.codehaus.jackson.JsonNode> recordData)
Copyright © 2020 Actian Corporation. All rights reserved.