Documentation ¶
Index ¶
- type Conn
- type Response
- func (rsp *Response) AppStatus() int
- func (rsp *Response) AppStatusString() string
- func (rsp *Response) ClusterLatency() int
- func (rsp *Response) GoString() string
- func (rsp *Response) ResultSets() []Table
- func (rsp *Response) Status() Status
- func (rsp *Response) StatusString() string
- func (rsp *Response) Table(offset int) *Table
- type Status
- type Table
- func (table *Table) ColumnCount() int
- func (table *Table) ColumnNames() []string
- func (table *Table) ColumnTypes() []int8
- func (table *Table) GoString() string
- func (table *Table) HasNext() bool
- func (table *Table) Next(v interface{}) error
- func (table *Table) RowCount() int
- func (table *Table) StatusCode() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a single connection to a single node of a VoltDB database
func NewConnection ¶
NewConn creates an initialized, authenticated Conn.
func (*Conn) Call ¶
Call invokes the procedure 'procedure' with parameter values 'params' and returns a pointer to the received Response.
func (*Conn) Close ¶
Close a connection if open. A Conn, once closed, has no further use. To open a new connection, use NewConnection.
func (*Conn) TestConnection ¶
Ping the database for liveness.
type Response ¶
type Response struct {
// contains filtered or unexported fields
}
Response is a stored procedure result.
func (*Response) AppStatusString ¶
func (*Response) ClusterLatency ¶
func (*Response) ResultSets ¶
func (*Response) StatusString ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table represents a single result set for a stored procedure invocation.
func (*Table) ColumnCount ¶
func (*Table) ColumnNames ¶
func (*Table) ColumnTypes ¶
func (*Table) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.