Class: Groonga::Procedure
- Inherits:
-
Object
- Object
- Data
- Object
- Groonga::Procedure
show all
- Defined in:
- ext/groonga/rb-grn-procedure.c
Constant Summary
collapse
- DELIMIT =
INT2NUM(GRN_DB_DELIMIT)
- UNIGRAM =
INT2NUM(GRN_DB_UNIGRAM)
- BIGRAM =
INT2NUM(GRN_DB_BIGRAM)
- TRIGRAM =
INT2NUM(GRN_DB_TRIGRAM)
- MECAB =
INT2NUM(GRN_DB_MECAB)
Instance Method Summary
collapse
Methods inherited from Object
#==, #[], #[]=, #accessor?, #append, #builtin?, #bulk?, #close, #closed?, #column?, #corrupt?, #dirty?, #disk_usage, #domain, #function_procedure?, #id, #id_accessor?, #index_column?, #inspect, #key_accessor?, #last_modified, #lexicon?, #n_sub_records_accessor?, #name, #path, #persistent?, #prepend, #procedure?, #range, #reference_column?, #remove, #score_accessor?, #scorer_procedure?, #selector_only_procedure?, #selector_procedure?, #table?, #temporary?, #touch, #unlink, #value_accessor?, #window_function_procedure?
Instance Method Details
#stable? ⇒ Boolean
53
54
55
56
57
58
59
60
61
62
63
64
|
# File 'ext/groonga/rb-grn-procedure.c', line 53
static VALUE
rb_grn_procedure_stable_p (VALUE self)
{
grn_ctx *context;
grn_obj *procedure;
grn_bool is_stable;
procedure = RVAL2GRNOBJECT(self, &context);
is_stable = grn_proc_is_stable(context, procedure);
return CBOOL2RVAL(is_stable);
}
|
40
41
42
43
44
45
46
47
48
49
50
51
|
# File 'ext/groonga/rb-grn-procedure.c', line 40
static VALUE
rb_grn_procedure_get_type (VALUE self)
{
grn_ctx *context;
grn_obj *procedure;
grn_proc_type type;
procedure = RVAL2GRNOBJECT(self, &context);
type = grn_proc_get_type(context, procedure);
return INT2NUM(type);
}
|