Class: OracleDB::EnqOptions
- Inherits:
-
Object
- Object
- OracleDB::EnqOptions
- Defined in:
- ext/oracledb/rboradb_aq.c
Instance Method Summary collapse
- #delivery_mode=(obj) ⇒ Object
- #initialize(conn) ⇒ Object constructor
- #transformation ⇒ Object
- #transformation=(obj) ⇒ Object
- #visibility ⇒ Object
- #visibility=(obj) ⇒ Object
Constructor Details
#initialize(conn) ⇒ Object
222 223 224 225 226 227 228 229 230 231 232 |
# File 'ext/oracledb/rboradb_aq.c', line 222
static VALUE enq_options_initialize(VALUE self, VALUE conn)
{
EnqOptions_t *opts = To_EnqOptions(self);
rbOraDBConn *dconn = rboradb_get_dconn(conn);
RBORADB_INIT(opts, dconn);
if (dpiConn_newEnqOptions(dconn->handle, &opts->handle) != DPI_SUCCESS) {
rboradb_raise_error(dconn->ctxt);
}
return Qnil;
}
|
Instance Method Details
#delivery_mode=(obj) ⇒ Object
234 235 236 237 |
# File 'ext/oracledb/rboradb_aq.c', line 234
static VALUE enqopts_set_delivery_mode(VALUE self, VALUE obj)
{
SET_ENUM(EnqOptions, DeliveryMode, dpiMessageDeliveryMode);
}
|
#transformation ⇒ Object
239 240 241 242 |
# File 'ext/oracledb/rboradb_aq.c', line 239
static VALUE enqopts_transformation(VALUE self)
{
GET_STR(EnqOptions, Transformation);
}
|
#transformation=(obj) ⇒ Object
244 245 246 247 |
# File 'ext/oracledb/rboradb_aq.c', line 244
static VALUE enqopts_set_transformation(VALUE self, VALUE obj)
{
SET_STR(EnqOptions, Transformation);
}
|
#visibility ⇒ Object
249 250 251 252 |
# File 'ext/oracledb/rboradb_aq.c', line 249
static VALUE enqopts_visibility(VALUE self)
{
GET_ENUM(EnqOptions, Visibility, dpiVisibility);
}
|
#visibility=(obj) ⇒ Object
254 255 256 257 |
# File 'ext/oracledb/rboradb_aq.c', line 254
static VALUE enqopts_set_visibility(VALUE self, VALUE obj)
{
SET_ENUM(EnqOptions, Visibility, dpiVisibility);
}
|