return the data stored in the DataInterfaceStream - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : DataInterfaceStream : Database/DataInterfaceStream/Get

DataInterfaceStream:-Get - return the data stored in the DataInterfaceStream

Calling Sequence

stream:-Get( )

Parameters

stream

-

DataInterfaceStream module

Description

• 

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.

Examples

driver:=Database[LoadDriver]:

conn:=driver:-OpenConnectionurl,name,pass:res:=conn:-ExecuteQuerySELECT * FROM stream:res:-Next

true

(1)

res:-GetData1

the quick brown fox jumped over the lazy dog

(2)

res:-GetData2

[   1..127 1-D Array   ]

[ datatype= integer[1] ]

[ storage= rectangular ]

[    order=C_order]    ]

str:=res:-GetData1,stream=true:str:-Type

VARCHAR

(3)

str:-Read5

the q

(4)

str:-Skip5;str:-Read5

brown

(5)

str:-Get

fox jumped over the lazy dog

(6)

str:=res:-GetData2,stream=true:str:-Type

BINARY

(7)

str:-Read5

1,2,3,4,5

(8)

str:-Skip5;str:-Read5

11,12,13,14,15

(9)

str:-Get

[   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

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam