Package | Description |
---|---|
org.apache.nifi.serialization | |
org.apache.nifi.serialization.record | |
org.apache.nifi.serialization.record.type | |
org.apache.nifi.serialization.record.util |
Modifier and Type | Class and Description |
---|---|
class |
SimpleRecordSchema |
Modifier and Type | Method and Description |
---|---|
RecordSchema |
RecordReader.getSchema() |
Modifier and Type | Field and Description |
---|---|
private RecordSchema |
ResultSetRecordSet.schema |
private RecordSchema |
ListRecordSet.schema |
private RecordSchema |
MapRecord.schema |
Modifier and Type | Method and Description |
---|---|
private RecordSchema |
ResultSetRecordSet.createSchema(ResultSet rs,
RecordSchema readerSchema) |
RecordSchema |
Record.getSchema() |
RecordSchema |
ResultSetRecordSet.getSchema() |
RecordSchema |
PushBackRecordSet.getSchema() |
RecordSchema |
ListRecordSet.getSchema() |
RecordSchema |
RecordSet.getSchema() |
RecordSchema |
MapRecord.getSchema() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
MapRecord.checkTypes(Map<String,Object> values,
RecordSchema schema) |
private RecordSchema |
ResultSetRecordSet.createSchema(ResultSet rs,
RecordSchema readerSchema) |
Record |
Record.getAsRecord(String fieldName,
RecordSchema schema) |
Record |
MapRecord.getAsRecord(String fieldName,
RecordSchema schema) |
private DataType |
ResultSetRecordSet.getDataType(int sqlType,
ResultSet rs,
int columnIndex,
RecordSchema readerSchema) |
DataType |
RecordFieldType.getRecordDataType(RecordSchema childSchema)
Returns a Data Type that represents a "RECORD" or "ARRAY" type with the given schema.
|
void |
Record.incorporateSchema(RecordSchema other)
Updates the Record's schema to to incorporate all of the fields in the given schema.
|
void |
MapRecord.incorporateSchema(RecordSchema other) |
static RecordSet |
RecordSet.of(RecordSchema schema,
Record... records) |
Modifier and Type | Method and Description |
---|---|
DataType |
RecordFieldType.getRecordDataType(Supplier<RecordSchema> childSchemaSupplier)
Returns a Data Type that represents a "RECORD" or "ARRAY" type with the given schema which will be lazily evaluated later.
|
Constructor and Description |
---|
ListRecordSet(RecordSchema schema,
List<Record> records) |
MapRecord(RecordSchema schema,
Map<String,Object> values) |
MapRecord(RecordSchema schema,
Map<String,Object> values,
boolean checkTypes,
boolean dropUnknownFields) |
MapRecord(RecordSchema schema,
Map<String,Object> values,
SerializedForm serializedForm) |
MapRecord(RecordSchema schema,
Map<String,Object> values,
SerializedForm serializedForm,
boolean checkTypes,
boolean dropUnknownFields) |
ResultSetRecordSet(ResultSet rs,
RecordSchema readerSchema) |
ResultSetRecordSet(ResultSet rs,
RecordSchema readerSchema,
int defaultPrecision,
int defaultScale) |
Modifier and Type | Field and Description |
---|---|
private RecordSchema |
RecordDataType.childSchema |
Modifier and Type | Field and Description |
---|---|
private Supplier<RecordSchema> |
RecordDataType.childSchemaSupplier |
Modifier and Type | Method and Description |
---|---|
RecordSchema |
RecordDataType.getChildSchema() |
Constructor and Description |
---|
RecordDataType(RecordSchema childSchema) |
Constructor and Description |
---|
RecordDataType(Supplier<RecordSchema> childSchemaSupplier) |
Modifier and Type | Method and Description |
---|---|
static RecordSchema |
DataTypeUtils.inferSchema(Map<String,Object> values,
String fieldName,
Charset charset) |
static RecordSchema |
DataTypeUtils.merge(RecordSchema thisSchema,
RecordSchema otherSchema) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
DataTypeUtils.isRecordTypeCompatible(RecordSchema schema,
Object value,
boolean strict)
Check if the given record structured object compatible with the schema.
|
static RecordSchema |
DataTypeUtils.merge(RecordSchema thisSchema,
RecordSchema otherSchema) |
static Record |
DataTypeUtils.toRecord(Object value,
RecordSchema recordSchema,
String fieldName) |
static Record |
DataTypeUtils.toRecord(Object value,
RecordSchema recordSchema,
String fieldName,
Charset charset) |
Copyright © 2021 Apache NiFi Project. All rights reserved.