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 class
A builder class for constructing instances ofResultWriterOptions
.static enum
Enum representing the type of object for the query result.static enum
Enum representing the format of the query result. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultWriterOptions.Builder
builder()
Creates a newResultWriterOptions.Builder
instance 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.ObjectType
of the query result.
-
getResultFormat
Retrieves the format of the query result.- Returns:
- The
ResultWriterOptions.ResultFormat
of the query result.
-
getHeaderAliasMap
Retrieves the header alias map for the query result.- Returns:
- A
Map
of header aliases, or an empty map if none are defined.
-
builder
Creates a newResultWriterOptions.Builder
instance for constructingResultWriterOptions
.- Returns:
- A new
ResultWriterOptions.Builder
.
-