Flow PHP

LogicalType

Read onlyYes
FinalYes

Constants

BSON  = 'BSON'
DATE  = 'DATE'
DECIMAL  = 'DECIMAL'
ENUM  = 'ENUM'
INTEGER  = 'INTEGER'
JSON  = 'JSON'
LIST  = 'LIST'
MAP  = 'MAP'
STRING  = 'STRING'
TIME  = 'TIME'
TIMESTAMP  = 'TIMESTAMP'
UNKNOWN  = 'UNKNOWN'
UUID  = 'UUID'

Methods

__construct()  : mixed
bson()  : self
date()  : self
decimal()  : self
decimalData()  : Decimal|null
enum()  : self
fromThrift()  : self
integer()  : self
is()  : bool
json()  : self
list()  : self
map()  : self
name()  : string
string()  : self
time()  : self
timeData()  : Time|null
timestamp()  : self
timestampData()  : Timestamp|null
toThrift()  : LogicalType
unknown()  : self
uuid()  : self

Constants

Methods

__construct()

public __construct(string $name[, Timestamp|null $timestamp = null ][, Time|null $time = null ][, Decimal|null $decimal = null ]) : mixed
Parameters
$name : string
$timestamp : Timestamp|null = null
$time : Time|null = null
$decimal : Decimal|null = null

bson()

public static bson() : self
Return values
self

date()

public static date() : self
Return values
self

decimal()

public static decimal(int $scale, int $precision) : self
Parameters
$scale : int
$precision : int
Return values
self

enum()

public static enum() : self
Return values
self

integer()

public static integer() : self
Return values
self

is()

public is(string $logicalType) : bool
Parameters
$logicalType : string
Return values
bool

json()

public static json() : self
Return values
self

list()

public static list() : self
Return values
self

map()

public static map() : self
Return values
self

string()

public static string() : self
Return values
self

time()

public static time() : self
Return values
self

timestamp()

public static timestamp() : self
Return values
self

unknown()

public static unknown() : self
Return values
self

uuid()

public static uuid() : self
Return values
self

        
On this page

Search results