Package | Description |
---|---|
org.apache.nifi.serialization.record | |
org.apache.nifi.serialization.record.type | |
org.apache.nifi.serialization.record.util |
Modifier and Type | Field and Description |
---|---|
private RecordFieldType |
DataType.fieldType |
Modifier and Type | Field and Description |
---|---|
private Set<RecordFieldType> |
RecordFieldType.narrowDataTypes |
private static Map<String,RecordFieldType> |
RecordFieldType.SIMPLE_NAME_MAP |
Modifier and Type | Method and Description |
---|---|
RecordFieldType |
DataType.getFieldType() |
private static RecordFieldType |
ResultSetRecordSet.getFieldType(int sqlType,
String valueClassName) |
static RecordFieldType |
RecordFieldType.of(String typeString) |
static RecordFieldType |
RecordFieldType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordFieldType[] |
RecordFieldType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<RecordFieldType> |
RecordFieldType.getNarrowDataTypes() |
Modifier and Type | Method and Description |
---|---|
private boolean |
MapRecord.isSimpleType(RecordFieldType fieldType) |
boolean |
RecordFieldType.isWiderThan(RecordFieldType fieldType)
Determines whether or this this RecordFieldType is "wider" than the provided type.
|
Constructor and Description |
---|
DataType(RecordFieldType fieldType,
String format) |
RecordFieldType(String simpleName,
RecordFieldType... narrowDataTypes) |
Modifier and Type | Method and Description |
---|---|
RecordFieldType |
RecordDataType.getFieldType() |
RecordFieldType |
ArrayDataType.getFieldType() |
RecordFieldType |
EnumDataType.getFieldType() |
RecordFieldType |
ChoiceDataType.getFieldType() |
RecordFieldType |
MapDataType.getFieldType() |
Modifier and Type | Field and Description |
---|---|
private static Map<RecordFieldType,Predicate<Object>> |
DataTypeUtils.NUMERIC_VALIDATORS |
Modifier and Type | Method and Description |
---|---|
static DateFormat |
DataTypeUtils.getDateFormat(RecordFieldType fieldType,
Supplier<DateFormat> dateFormat,
Supplier<DateFormat> timeFormat,
Supplier<DateFormat> timestampFormat) |
private static int |
DataTypeUtils.getIntegerTypeValue(RecordFieldType fieldType) |
static boolean |
DataTypeUtils.isFittingNumberType(Object value,
RecordFieldType fieldType)
Checks if an incoming value satisfies the requirements of a given (numeric) type or any of it's narrow data type.
|
Copyright © 2021 Apache NiFi Project. All rights reserved.