Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PreparedStatementDescriptor ¶
type PreparedStatementDescriptor struct {
NoData bool
ParamDesc *pgproto3.ParameterDescription
RowDesc *pgproto3.RowDescription
}
type PreparedStatementHolder ¶
type PreparedStatementHolder interface {
HasPrepareStatement(hash uint64, shardId uint) (bool, *PreparedStatementDescriptor)
StorePrepareStatement(hash uint64, shardId uint, d *PreparedStatementDefinition, rd *PreparedStatementDescriptor) error
}
type PreparedStatementMapper ¶
type PreparedStatementMapper interface {
PreparedStatementQueryByName(name string) string
PreparedStatementDefinitionByName(name string) *PreparedStatementDefinition
PreparedStatementQueryHashByName(name string) uint64
StorePreparedStatement(d *PreparedStatementDefinition)
ClosePreparedStatement(name string)
ListPreparedStatements() []string
}
Click to show internal directories.
Click to hide internal directories.