Package com.blazebit.query.spi
Interface DataFormatField
public interface DataFormatField
An object to fetch schema object data.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the accessor for the field.Returns the format of the field type.getName()
Returns the name of the field.static DataFormatField
of
(String name, DataFormatFieldAccessor accessor, DataFormat format) Creates a new data format field.
-
Method Details
-
getName
String getName()Returns the name of the field.- Returns:
- the name of the field
-
getAccessor
DataFormatFieldAccessor getAccessor()Returns the accessor for the field.- Returns:
- the accessor for the field
-
getFormat
DataFormat getFormat()Returns the format of the field type.- Returns:
- the format of the field type
-
of
Creates a new data format field.- Parameters:
name
- The name of the fieldaccessor
- The accessor for the fieldformat
- The data format of the field type- Returns:
- The new data format field
-