MCPcopy Create free account
hub / github.com/apache/arrow / ggandiva_binary_literal_node_new

Function ggandiva_binary_literal_node_new

c_glib/gandiva-glib/node.cpp:1074–1080  ·  view source on GitHub ↗

* ggandiva_binary_literal_node_new: * @value: (array length=size): The value of the binary literal. * @size: The number of bytes of the value. * * Returns: A newly created #GGandivaBinaryLiteralNode. * * Since: 0.12.0 */

Source from the content-addressed store, hash-verified

1072 * Since: 0.12.0
1073 */
1074GGandivaBinaryLiteralNode *
1075ggandiva_binary_literal_node_new(const guint8 *value, gsize size)
1076{
1077 auto gandiva_node = gandiva::TreeExprBuilder::MakeBinaryLiteral(
1078 std::string(reinterpret_cast<const char *>(value), size));
1079 return GGANDIVA_BINARY_LITERAL_NODE(ggandiva_literal_node_new_raw(&gandiva_node, NULL));
1080}
1081
1082/**
1083 * ggandiva_binary_literal_node_new_bytes:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected