Return rows from a Query Table or Materialized Window, applying an optional predicate to decide which rows are returned. No guarantees are made regarding the order of rows returned.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IList<Tuple> ReadTable(
	string tablePath,
	int rowLimit,
	string predicate
)
Public Function ReadTable ( _
	tablePath As String, _
	rowLimit As Integer, _
	predicate As String _
) As IList(Of Tuple)
public:
IList<Tuple^>^ ReadTable(
	String^ tablePath, 
	int rowLimit, 
	String^ predicate
)

Parameters

tablePath
String
Path to the table. A fully qualified path is a dot-separated string optionally starting with a container name (when omitted, the container specified by this client's URI is used), followed by zero or more module reference names, and finally the table or window name. For example,
CopyC#
default.ModuleRef1.DataTable
is a valid fully qualified path, where
CopyC#
default.
may be omitted when this client is connected to the default container.
rowLimit
Int32
Limit on number of rows to return, or -1 for all rows.
predicate
String
A predicate to apply to the rows to select those for retrieval. A null predicate returns all rows.

Return Value

A list of rows from the table.

Exceptions

ExceptionCondition
StreamBase.SB..::..StreamBaseExceptionIf the connection is not valid or the server cannot be contacted, or the table does not exist, or the predicate is faulty.

See Also