| 2217 | } |
| 2218 | |
| 2219 | static void |
| 2220 | garrow_json_reader_class_init(GArrowJSONReaderClass *klass) |
| 2221 | { |
| 2222 | auto gobject_class = G_OBJECT_CLASS(klass); |
| 2223 | |
| 2224 | gobject_class->dispose = garrow_json_reader_dispose; |
| 2225 | gobject_class->finalize = garrow_json_reader_finalize; |
| 2226 | gobject_class->set_property = garrow_json_reader_set_property; |
| 2227 | gobject_class->get_property = garrow_json_reader_get_property; |
| 2228 | |
| 2229 | GParamSpec *spec; |
| 2230 | spec = g_param_spec_pointer( |
| 2231 | "json-table-reader", |
| 2232 | "JSON table reader", |
| 2233 | "The raw std::shared<arrow::json::TableReader> *", |
| 2234 | static_cast<GParamFlags>(G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); |
| 2235 | g_object_class_install_property(gobject_class, PROP_JSON_TABLE_READER, spec); |
| 2236 | |
| 2237 | spec = g_param_spec_object( |
| 2238 | "input", |
| 2239 | "Input", |
| 2240 | "The input stream to be read", |
| 2241 | GARROW_TYPE_INPUT_STREAM, |
| 2242 | static_cast<GParamFlags>(G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
| 2243 | g_object_class_install_property(gobject_class, PROP_JSON_READER_INPUT, spec); |
| 2244 | } |
| 2245 | |
| 2246 | /** |
| 2247 | * garrow_json_reader_new: |
nothing calls this directly
no outgoing calls
no test coverage detected