Graph search · GraphQL enum

SearchQuerySchemaFieldType enum

Search query key struct field type.

Values

Enum Value Description

TEXT

A field represented as text.

INTEGER

An arbitrary-precision signed big integer encoded as a string.

FLOAT

64-bit IEEE-754 floating point encoded as a string.

TIME

Represents a date and time encoded as an ISO 8601 string.

BOOL

Boolean is a string: true or false.

DATA_SIZE_IEC

A quantity of stored data in bytes, formatted with IEC binary (power-of-1024) units (KiB, MiB, GiB, ...). The value is an integer byte count; compare using the numeric operators.

DATA_SIZE_SI

A quantity of stored data in bytes, formatted with SI decimal (power-of-1000) units (kB, MB, GB, ...). The value is an integer byte count; compare using the numeric operators.

BYTES_PER_SECOND

A data-transfer rate in bytes per second, formatted with SI decimal (power-of-1000) units (kB/s, MB/s, GB/s, ...). The value is an integer count of bytes per second; compare using the numeric operators.

BITS_PER_SECOND

A data-transfer rate in bits per second, formatted with SI decimal (power-of-1000) units (kbps, Mbps, Gbps, ...). The value is an integer count of bits per second; compare using the numeric operators.

PERCENT

A human-friendly percentage on a 0 to 100 scale (not a 0 to 1 fraction), for example 12.5 meaning 12.5%. The value is a floating-point number; compare using the numeric operators.

DURATION

A length of time. The value is an integer count of nanoseconds; compare using the numeric operators.

PORT

A network port number in the range 0 to 65535. The value is an integer; compare using the numeric operators.

FREQUENCY

A frequency (cycles per second). The value is an integer count of micro-Hertz (µHz); e.g. 5.18 GHz is 5180000000000. Compare using the numeric operators.

SIGNAL_DBM

A radio signal strength in decibel-milliwatts (dBm), a negative integer where values closer to zero are stronger (e.g. -55 dBm is stronger than -80 dBm). Compare using the numeric operators.

ENUM

A value drawn from a fixed enumeration. The field is a SearchQuerySchemaFieldComposite whose key is a SearchQuerySchemaKeyEnum listing the permitted values. Values persist as text and compare with the equality operators; a query naming a value outside the enumeration is rejected.

COMPOSITE

Type SearchQuerySchemaFieldComposite.

Used by

Example

Example

"TEXT"