Tuple

A general purpose tuple.

package

Default

Methods

__construct

__construct() 

Add a boolean value at the end of the tuple.

addBoolean( $arg0) : $this

Arguments

$arg0

boolean

Response

$this

a reference to this, so the API can be used fluently

Add a buffer value at the end of the tuple.

addBuffer( $arg0) : $this

Arguments

$arg0

Buffer

Response

$this

a reference to this, so the API can be used fluently

Add a double value at the end of the tuple.

addDouble( $arg0) : $this

Arguments

$arg0

float

Response

$this

a reference to this, so the API can be used fluently

Add a float value at the end of the tuple.

addFloat( $arg0) : $this

Arguments

$arg0

float

Response

$this

a reference to this, so the API can be used fluently

Add an integer value at the end of the tuple.

addInteger( $arg0) : $this

Arguments

$arg0

integer

Response

$this

a reference to this, so the API can be used fluently

Add a long value at the end of the tuple.

addLong( $arg0) : $this

Arguments

$arg0

integer

Response

$this

a reference to this, so the API can be used fluently

Add a short value at the end of the tuple.

addShort( $arg0) : $this

Arguments

$arg0

integer

Response

$this

a reference to this, so the API can be used fluently

Add a string value at the end of the tuple.

addString( $arg0) : $this

Arguments

$arg0

string

Response

$this

a reference to this, so the API can be used fluently

Add an object value at the end of the tuple.

addValue( $arg0) : $this

Arguments

$arg0

mixed

Response

$this

a reference to this, so the API can be used fluently

clear

clear() : void

get

get( $arg0,  $arg1) : mixed

Arguments

$arg0

string

$arg1

integer

Response

mixed

Get a boolean value at <code>pos</code>.

getBoolean( $arg0) : boolean

Arguments

$arg0

integer

Response

boolean

the value or {@code null}

Get a buffer value at <code>pos</code>.

getBuffer( $arg0) : \io\vertx\jphp\core\buffer\Buffer

Arguments

$arg0

integer

Response

\io\vertx\jphp\core\buffer\Buffer

the value or {@code null}

Get a double value at <code>pos</code>.

getDouble( $arg0) : float

Arguments

$arg0

integer

Response

float

the value or {@code null}

Get a float value at <code>pos</code>.

getFloat( $arg0) : float

Arguments

$arg0

integer

Response

float

the value or {@code null}

Get an integer value at <code>pos</code>.

getInteger( $arg0) : integer

Arguments

$arg0

integer

Response

integer

the value or {@code null}

Get a long value at <code>pos</code>.

getLong( $arg0) : integer

Arguments

$arg0

integer

Response

integer

the value or {@code null}

Get a short value at <code>pos</code>.

getShort( $arg0) : integer

Arguments

$arg0

integer

Response

integer

the value or {@code null}

Get a string value at <code>pos</code>.

getString( $arg0) : string

Arguments

$arg0

integer

Response

string

the value or {@code null}

Get an object value at <code>pos</code>.

getValue( $arg0) : mixed

Arguments

$arg0

integer

Response

mixed

the value or {@code null}

Create a tuple of one element.

of( $arg0,  $arg1 = null,  $arg2 = null,  $arg3 = null,  $arg4 = null,  $arg5 = null) : \io\vertx\jphp\sqlclient\Tuple
static

param $elt1 [mixed] the first value of($elt1)

Create a tuple of two elements.

param $elt1 [mixed] the first value param $elt2 [mixed] the second value of($elt1, $elt2)

Create a tuple of three elements.

param $elt1 [mixed] the first value param $elt2 [mixed] the second value param $elt3 [mixed] the third value of($elt1, $elt2, $elt3)

Create a tuple of four elements.

param $elt1 [mixed] the first value param $elt2 [mixed] the second value param $elt3 [mixed] the third value param $elt4 [mixed] the fourth value of($elt1, $elt2, $elt3, $elt4)

Create a tuple of five elements.

param $elt1 [mixed] the first value param $elt2 [mixed] the second value param $elt3 [mixed] the third value param $elt4 [mixed] the fourth value param $elt5 [mixed] the fifth value of($elt1, $elt2, $elt3, $elt4, $elt5)

Create a tuple of six elements.

param $elt1 [mixed] the first value param $elt2 [mixed] the second valueg param $elt3 [mixed] the third value param $elt4 [mixed] the fourth value param $elt5 [mixed] the fifth value param $elt6 [mixed] the sixth value of($elt1, $elt2, $elt3, $elt4, $elt5, $elt6)

Arguments

$arg0

mixed

$arg1

mixed

$arg2

mixed

$arg3

mixed

$arg4

mixed

$arg5

mixed

Response

\io\vertx\jphp\sqlclient\Tuple

the tuple

size

size() : integer

Response

integer

the tuple size

tuple

tuple() : \io\vertx\jphp\sqlclient\Tuple
static

Response

\io\vertx\jphp\sqlclient\Tuple

a new empty tuple

Constants

The JSON null literal value.

JSON_NULL


It is used to distinguish a JSON null literal value from the Java null value. This is only used when the database supports JSON types.

var

php文件只是为了写代码方便,常量的实际值请参考原java文件