Package com.influxdb.client.domain
Class Dialect
java.lang.Object
com.influxdb.client.domain.Dialect
Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets annotationsstatic enum
Format of timestamps -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem
(Dialect.AnnotationsEnum annotationsItem) annotations
(List<Dialect.AnnotationsEnum> annotations) commentPrefix
(String commentPrefix) dateTimeFormat
(Dialect.DateTimeFormatEnum dateTimeFormat) boolean
https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columnsCharacter prefixed to comment stringsFormat of timestampsSeparator between cells; the default is ,If true, the results will contain a header rowint
hashCode()
void
setAnnotations
(List<Dialect.AnnotationsEnum> annotations) void
setCommentPrefix
(String commentPrefix) void
setDateTimeFormat
(Dialect.DateTimeFormatEnum dateTimeFormat) void
setDelimiter
(String delimiter) void
toString()
-
Field Details
-
SERIALIZED_NAME_HEADER
- See Also:
-
SERIALIZED_NAME_DELIMITER
- See Also:
-
SERIALIZED_NAME_ANNOTATIONS
- See Also:
-
SERIALIZED_NAME_COMMENT_PREFIX
- See Also:
-
SERIALIZED_NAME_DATE_TIME_FORMAT
- See Also:
-
-
Constructor Details
-
Dialect
public Dialect()
-
-
Method Details
-
header
-
getHeader
If true, the results will contain a header row- Returns:
- header
-
setHeader
-
delimiter
-
getDelimiter
Separator between cells; the default is ,- Returns:
- delimiter
-
setDelimiter
-
annotations
-
addAnnotationsItem
-
getAnnotations
https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns- Returns:
- annotations
-
setAnnotations
-
commentPrefix
-
getCommentPrefix
Character prefixed to comment strings- Returns:
- commentPrefix
-
setCommentPrefix
-
dateTimeFormat
-
getDateTimeFormat
Format of timestamps- Returns:
- dateTimeFormat
-
setDateTimeFormat
-
equals
-
hashCode
public int hashCode() -
toString
-