Flow PHP

FlatColumn implements Column

FinalYes

Interfaces

Column

Methods

__construct()  : mixed
__debugInfo()  : array<string|int, mixed>
boolean()  : self
convertedType()  : ConvertedType|null
date()  : self
dateTime()  : self
ddl()  : array<string|int, mixed>
decimal()  : self
double()  : self
enum()  : self
flatPath()  : string
float()  : self
fromThrift()  : self
int32()  : self
int64()  : self
isList()  : bool
isMap()  : bool
isStruct()  : bool
json()  : self
logicalType()  : LogicalType|null
makeOptional()  : self
makeRequired()  : self
maxDefinitionsLevel()  : int
maxRepetitionsLevel()  : int
name()  : string
parent()  : NestedColumn|null
path()  : array<string|int, string>
precision()  : int|null
repetition()  : Repetition|null
repetitions()  : Repetitions
scale()  : int|null
setParent()  : void
string()  : self
time()  : self
toThrift()  : SchemaElement
type()  : PhysicalType
typeLength()  : int|null
uuid()  : self

Methods

__construct()

public __construct(string $name, PhysicalType $type[, ConvertedType|null $convertedType = null ][, LogicalType|null $logicalType = null ][, Repetition|null $repetition = Repetition::OPTIONAL ][, int|null $precision = null ][, int|null $scale = null ][, int|null $typeLength = null ]) : mixed
Parameters
$name : string
$type : PhysicalType
$convertedType : ConvertedType|null = null
$logicalType : LogicalType|null = null
$repetition : Repetition|null = Repetition::OPTIONAL
$precision : int|null = null
$scale : int|null = null
$typeLength : int|null = null

__debugInfo()

public __debugInfo() : array<string|int, mixed>
Return values
array<string|int, mixed>

boolean()

public static boolean(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

date()

public static date(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

dateTime()

public static dateTime(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

ddl()

public ddl() : array<string|int, mixed>
Return values
array<string|int, mixed>

decimal()

public static decimal(string $name[, int $precision = 10 ][, int $scale = 2 ][, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$precision : int = 10
$scale : int = 2
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

double()

public static double(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

enum()

public static enum(string $string[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$string : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

flatPath()

public flatPath() : string
Return values
string

float()

public static float(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

int32()

public static int32(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

int64()

public static int64(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

isList()

public isList() : bool
Return values
bool

isMap()

public isMap() : bool
Return values
bool

isStruct()

public isStruct() : bool
Return values
bool

json()

public static json(string $string[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$string : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

makeOptional()

public makeOptional() : self
Return values
self

makeRequired()

public makeRequired() : self
Return values
self

maxDefinitionsLevel()

public maxDefinitionsLevel() : int
Return values
int

maxRepetitionsLevel()

public maxRepetitionsLevel() : int
Return values
int

name()

public name() : string
Return values
string

path()

public path() : array<string|int, string>
Return values
array<string|int, string>

precision()

public precision() : int|null
Return values
int|null

scale()

public scale() : int|null
Return values
int|null

string()

public static string(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

time()

public static time(string $name[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$name : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

typeLength()

public typeLength() : int|null
Return values
int|null

uuid()

public static uuid(string $uuid[, Repetition $repetition = Repetition::OPTIONAL ]) : self
Parameters
$uuid : string
$repetition : Repetition = Repetition::OPTIONAL
Return values
self

        
On this page

Search results