|
const | DISCRIMINATOR = null |
|
const | ANNOTATIONS_GROUP = 'group' |
|
const | ANNOTATIONS_DATATYPE = 'datatype' |
|
const | ANNOTATIONS__DEFAULT = 'default' |
|
const | DATE_TIME_FORMAT_RFC3339 = 'RFC3339' |
|
const | DATE_TIME_FORMAT_RFC3339_NANO = 'RFC3339Nano' |
|
◆ __construct()
InfluxDB2\Model\Dialect::__construct |
( |
array | $data = null | ) |
|
Constructor
- Parameters
-
mixed[] | $data | Associated array of property values initializing the model |
◆ __toString()
InfluxDB2\Model\Dialect::__toString |
( |
| ) |
|
Gets the string presentation of the object
- Returns
- string
◆ attributeMap()
static InfluxDB2\Model\Dialect::attributeMap |
( |
| ) |
|
|
static |
◆ getAnnotations()
InfluxDB2\Model\Dialect::getAnnotations |
( |
| ) |
|
Gets annotations
- Returns
- string[]|null
◆ getAnnotationsAllowableValues()
InfluxDB2\Model\Dialect::getAnnotationsAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getCommentPrefix()
InfluxDB2\Model\Dialect::getCommentPrefix |
( |
| ) |
|
Gets comment_prefix
- Returns
- string|null
◆ getDateTimeFormat()
InfluxDB2\Model\Dialect::getDateTimeFormat |
( |
| ) |
|
Gets date_time_format
- Returns
- string|null
◆ getDateTimeFormatAllowableValues()
InfluxDB2\Model\Dialect::getDateTimeFormatAllowableValues |
( |
| ) |
|
Gets allowable values of the enum
- Returns
- string[]
◆ getDelimiter()
InfluxDB2\Model\Dialect::getDelimiter |
( |
| ) |
|
Gets delimiter
- Returns
- string|null
◆ getHeader()
InfluxDB2\Model\Dialect::getHeader |
( |
| ) |
|
Gets header
- Returns
- bool|null
◆ getModelName()
InfluxDB2\Model\Dialect::getModelName |
( |
| ) |
|
◆ getters()
static InfluxDB2\Model\Dialect::getters |
( |
| ) |
|
|
static |
◆ listInvalidProperties()
InfluxDB2\Model\Dialect::listInvalidProperties |
( |
| ) |
|
◆ offsetExists()
InfluxDB2\Model\Dialect::offsetExists |
( |
| $offset | ) |
|
Returns true if offset exists. False otherwise.
- Parameters
-
- Returns
- boolean
◆ offsetGet()
InfluxDB2\Model\Dialect::offsetGet |
( |
| $offset | ) |
|
Gets offset.
- Parameters
-
- Returns
- mixed
◆ offsetSet()
InfluxDB2\Model\Dialect::offsetSet |
( |
| $offset, |
|
|
| $value ) |
Sets value based on offset.
- Parameters
-
integer | $offset | Offset |
mixed | $value | Value to be set |
- Returns
- void
◆ offsetUnset()
InfluxDB2\Model\Dialect::offsetUnset |
( |
| $offset | ) |
|
Unsets offset.
- Parameters
-
- Returns
- void
◆ openAPIFormats()
static InfluxDB2\Model\Dialect::openAPIFormats |
( |
| ) |
|
|
static |
◆ openAPITypes()
static InfluxDB2\Model\Dialect::openAPITypes |
( |
| ) |
|
|
static |
◆ setAnnotations()
InfluxDB2\Model\Dialect::setAnnotations |
( |
| $annotations | ) |
|
Sets annotations
- Parameters
-
string[] | null | $annotations | Annotation rows to include in the results. An annotation is metadata associated with an object (column) in the data model. #### Related guides - See Annotated CSV annotations for examples and more information. For more information about annotations in tabular data, see W3 metadata vocabulary for tabular data. |
- Returns
- $this
◆ setCommentPrefix()
InfluxDB2\Model\Dialect::setCommentPrefix |
( |
| $comment_prefix | ) |
|
Sets comment_prefix
- Parameters
-
string | null | $comment_prefix | The character prefixed to comment strings. Default is a number sign (# ). |
- Returns
- $this
◆ setDateTimeFormat()
InfluxDB2\Model\Dialect::setDateTimeFormat |
( |
| $date_time_format | ) |
|
Sets date_time_format
- Parameters
-
string | null | $date_time_format | The format for timestamps in results. Default is RFC3339 date/time format. To include nanoseconds in timestamps, use RFC3339Nano . #### Example formatted date/time values | Format | Value | |:---------—|:-------------------------—| | RFC3339 | "2006-01-02T15:04:05Z07:00" | | RFC3339Nano | "2006-01-02T15:04:05.999999999Z07:00" | |
- Returns
- $this
◆ setDelimiter()
InfluxDB2\Model\Dialect::setDelimiter |
( |
| $delimiter | ) |
|
Sets delimiter
- Parameters
-
string | null | $delimiter | The separator used between cells. Default is a comma (, ). |
- Returns
- $this
◆ setHeader()
InfluxDB2\Model\Dialect::setHeader |
( |
| $header | ) |
|
Sets header
- Parameters
-
bool | null | $header | If true, the results contain a header row. |
- Returns
- $this
◆ setters()
static InfluxDB2\Model\Dialect::setters |
( |
| ) |
|
|
static |
◆ valid()
InfluxDB2\Model\Dialect::valid |
( |
| ) |
|
Validate all the properties in the model return true if all passed
- Returns
- bool True if all properties are valid
Implements InfluxDB2\Model\ModelInterface.
◆ $attributeMap
InfluxDB2\Model\Dialect::$attributeMap |
|
staticprotected |
Initial value:= [
'header' => 'header',
'delimiter' => 'delimiter',
'annotations' => 'annotations',
'comment_prefix' => 'commentPrefix',
'date_time_format' => 'dateTimeFormat'
]
◆ $getters
InfluxDB2\Model\Dialect::$getters |
|
staticprotected |
Initial value:= [
'header' => 'getHeader',
'delimiter' => 'getDelimiter',
'annotations' => 'getAnnotations',
'comment_prefix' => 'getCommentPrefix',
'date_time_format' => 'getDateTimeFormat'
]
◆ $openAPIFormats
InfluxDB2\Model\Dialect::$openAPIFormats |
|
staticprotected |
Initial value:= [
'header' => null,
'delimiter' => null,
'annotations' => null,
'comment_prefix' => null,
'date_time_format' => null
]
◆ $openAPITypes
InfluxDB2\Model\Dialect::$openAPITypes |
|
staticprotected |
Initial value:= [
'header' => 'bool',
'delimiter' => 'string',
'annotations' => 'string[]',
'comment_prefix' => 'string',
'date_time_format' => 'string'
]
◆ $setters
InfluxDB2\Model\Dialect::$setters |
|
staticprotected |
Initial value:= [
'header' => 'setHeader',
'delimiter' => 'setDelimiter',
'annotations' => 'setAnnotations',
'comment_prefix' => 'setCommentPrefix',
'date_time_format' => 'setDateTimeFormat'
]
The documentation for this class was generated from the following file:
- src/InfluxDB2/Model/Dialect.php