Class ResultWriterOptions
java.lang.Object
com.inductiveautomation.historian.common.model.options.ResultWriterOptions
Represents the options for writing query results.
This class provides configuration for the format and structure of query results, including object types, result formats, and header alias mappings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for constructing instances ofResultWriterOptions.static enumEnum representing the type of object for the query result.static enumEnum representing the format of the query result. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultWriterOptions.Builderbuilder()Creates a newResultWriterOptions.Builderinstance for constructingResultWriterOptions.Retrieves the header alias map for the query result.Retrieves the format of the query result.Retrieves the object type of the query result.
-
Method Details
-
getResultObjectType
Retrieves the object type of the query result.- Returns:
- The
ResultWriterOptions.ObjectTypeof the query result.
-
getResultFormat
Retrieves the format of the query result.- Returns:
- The
ResultWriterOptions.ResultFormatof the query result.
-
getHeaderAliasMap
Retrieves the header alias map for the query result.- Returns:
- A
Mapof header aliases, or an empty map if none are defined.
-
builder
Creates a newResultWriterOptions.Builderinstance for constructingResultWriterOptions.- Returns:
- A new
ResultWriterOptions.Builder.
-