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
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets annotationsstatic enumFormat of timestamps -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem(Dialect.AnnotationsEnum annotationsItem) annotations(List<Dialect.AnnotationsEnum> annotations) commentPrefix(String commentPrefix) dateTimeFormat(Dialect.DateTimeFormatEnum dateTimeFormat) booleanhttps://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 rowinthashCode()voidsetAnnotations(List<Dialect.AnnotationsEnum> annotations) voidsetCommentPrefix(String commentPrefix) voidsetDateTimeFormat(Dialect.DateTimeFormatEnum dateTimeFormat) voidsetDelimiter(String delimiter) voidtoString()
-
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
-