DataInterfaceStream
Get
return the data stored in the DataInterfaceStream
Calling Sequence
Parameters
Description
Examples
stream:-Get( )
stream
-
DataInterfaceStream module
Get returns the remainder of the data stored in stream. If no data has been accessed with Read or Skip then Get returns the entire element.
driver≔DatabaseLoadDriver⁡:
conn≔driver:-OpenConnection⁡url,name,pass:res≔conn:-ExecuteQuery⁡SELECT * FROM stream:res:-Next⁡
true
res:-GetData⁡1
the quick brown fox jumped over the lazy dog
res:-GetData⁡2
[ 1..127 1-D Array ]
[ datatype= integer[1] ]
[ storage= rectangular ]
[ order=C_order] ]
str≔res:-GetData⁡1,stream=true:str:-Type⁡
VARCHAR
str:-Read⁡5
the q
str:-Skip⁡5;str:-Read⁡5
brown
str:-Get⁡
fox jumped over the lazy dog
str≔res:-GetData⁡2,stream=true:str:-Type⁡
BINARY
1,2,3,4,5
11,12,13,14,15
[ 1..112 1-D Array ]
[ Data Type: integer[1] ]
[ Storage: rectangular ]
[ Order: C_order ]
See Also
Database
Database[DataInterfaceStream]
Database[DataInterfaceStream][Read]
Database[DataInterfaceStream][Type]
Database[usage]
Download Help Document