blob: 19f14b79c3372004c47757b85c527d1ea520a6f7 [file] [log] [blame]
Search.setIndex({"alltitles": {"Apache Arrow C++ Cookbook": [[4, null]], "Arrow Flight": [[3, null]], "Contents": [[0, "contents"], [1, "contents"], [2, "contents"], [3, "contents"]], "Contents:": [[4, null]], "Create Arrays from Standard C++": [[1, "create-arrays-from-standard-c"]], "Creating Arrow Objects": [[1, null]], "Creating the client": [[3, "creating-the-client"]], "Creating the server": [[3, "creating-the-server"]], "Flight Service with other gRPC endpoints": [[3, "flight-service-with-other-grpc-endpoints"]], "Generalize Computations Across Arrow Types": [[0, "generalize-computations-across-arrow-types"]], "Generate Random Data": [[0, "generate-random-data"]], "Generate Random Data for a Given Schema": [[1, "generate-random-data-for-a-given-schema"]], "Indices and tables": [[4, "indices-and-tables"]], "Read a Partitioned Dataset": [[2, "read-a-partitioned-dataset"]], "Reading and Writing Datasets": [[2, null]], "Setting gRPC client options": [[3, "setting-grpc-client-options"]], "Simple Parquet storage service with Arrow Flight": [[3, "simple-parquet-storage-service-with-arrow-flight"]], "Using the Visitor Pattern": [[0, "using-the-visitor-pattern"]], "Working with Status and Result": [[0, "working-with-status-and-result"]], "Working with the C++ Implementation": [[0, null]]}, "docnames": ["basic", "create", "datasets", "flight", "index"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1}, "filenames": ["basic.rst", "create.rst", "datasets.rst", "flight.rst", "index.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": 3, "0": [0, 1, 2, 3], "1": [0, 1, 3], "10": 2, "11": 3, "114639401815783": 1, "118": 3, "12": 2, "13": 2, "131": 3, "153": 2, "16": 2, "18": [2, 3], "190": 3, "2": [0, 1, 3], "20": [2, 3], "21": 0, "22": 2, "223": 3, "25": 2, "28": 2, "29": 3, "3": [0, 1], "30": 3, "3317042358393785": 1, "34909": 3, "36": 3, "382034290325901": 1, "4": [0, 1, 2, 3], "408427191655361": 1, "41": 3, "435859807531756": 1, "43871": 3, "481697765977915": 1, "5": [0, 1, 3], "5000": 3, "5139046109461995": 1, "5311511405892575": 1, "557105116960675": 1, "5717146136471953": 1, "5748857903728695": 1, "593687075297465": 1, "6": [0, 1, 2], "628949982902424": 1, "647800307266349": 1, "65536": 3, "661277366074096": 1, "663922594248059": 1, "67": 3, "68": 3, "6824264586496627": 1, "7": [1, 2, 3], "72": 3, "76": 3, "8": [1, 3], "8043934969186881": 1, "8091739898497332": 1, "8476343672974584": 1, "9": 3, "901458906361901": 1, "9025437669738485": 1, "973520262528361": 1, "980843530854203": 1, "A": 2, "And": 3, "For": 3, "If": [0, 3], "In": 0, "It": 0, "The": [0, 1, 2, 3, 4], "Then": 3, "There": [2, 3], "To": [1, 2, 3], "a_arr": 0, "a_build": 0, "a_val": 0, "abl": 3, "about": 3, "accord": 2, "across": 2, "action": 3, "actiontyp": 3, "actual": 3, "add": 3, "addit": [2, 3], "ahead": 2, "airqual": 3, "airquality_basedir": 2, "airquality_path": 3, "all": [1, 2, 3], "alloc": 1, "allow": [0, 2], "also": [1, 2, 3, 4], "altern": 2, "alwai": 0, "amort": 1, "an": [1, 2, 3], "ani": [0, 1, 3], "apach": 3, "api": 3, "append": [0, 1], "appendnul": 0, "appendvalu": [0, 1], "ar": [2, 3], "arr": 1, "arrai": [0, 4], "arraybuild": 1, "arrays_": 1, "arraytyp": 0, "arrow": 2, "arrow_assign_or_rais": [0, 1, 2, 3], "arrow_return_not_ok": [0, 1, 2, 3], "auto": [0, 1, 2, 3], "avail": [2, 3], "b": 0, "b_arr": 0, "b_builder": 0, "b_val": 0, "back": 3, "backend": 3, "base": 2, "base_dir": [2, 3], "base_nam": 3, "basic": [0, 2], "batch": [0, 1, 3], "batch_read": 3, "becaus": 3, "becom": [0, 1], "been": 3, "begin": [1, 3], "below": 0, "between": 0, "bodi": 3, "boilerpl": 0, "break": [2, 3], "buffer": 3, "build_system": 3, "builder": [0, 1, 3], "builder_hook": 3, "c_type": 0, "call": [0, 2, 3], "can": [0, 1, 2, 3], "care": 0, "case": 2, "chang": 3, "check": [0, 1], "children": 1, "choos": 0, "chunk": 2, "chunk_siz": 3, "class": [0, 1, 3], "clear": 0, "client": 4, "client_channel": 3, "client_opt": 3, "clientcontext": 3, "close": 3, "code": [0, 1, 2, 3], "collect": [2, 4], "column": [0, 1, 2], "common": 4, "compil": 3, "compon": 3, "concept": 0, "confirm": 3, "connect": 3, "consid": 1, "const": [0, 1, 2, 3], "constant": 1, "consum": 1, "contain": [0, 1, 2, 3], "context": 3, "continu": 3, "cookbook": 0, "copi": 1, "correct": 1, "could": [1, 2], "cpp": 3, "creat": [2, 4], "createchannel": 3, "createdir": 3, "creation": 1, "criteria": 3, "csv": 2, "custom": [2, 3], "d": 1, "dai": [2, 3], "data": [2, 3, 4], "dataset": [3, 4], "dataset_factori": 2, "datasetfactori": 2, "datatyp": [0, 1], "dbl_builder": 1, "dblval": 1, "default": [0, 1, 3], "default_memory_pool": 3, "defin": 3, "definit": 3, "delet": 3, "deletedircont": 3, "deletefil": 3, "demonstr": [0, 2, 4], "describ": 2, "descriptor": 3, "detail": 3, "determin": [1, 2], "dictionary_memo": 3, "dictionarymemo": 3, "differ": 2, "directli": 3, "directori": 2, "directory_bas": 2, "discov": 2, "distribut": 2, "do": [2, 3], "doaction": 3, "doactiondropdataset": 3, "doc": 3, "document": 3, "doesn": 3, "doget": 3, "doput": 3, "doubl": [0, 1, 2, 3], "doublebuild": [0, 1], "doubletyp": 1, "down": 3, "drop_dataset": 3, "dynam": 3, "each": 0, "easi": 1, "easier": 0, "easili": 1, "effici": [0, 1], "els": 3, "emplace_back": 3, "empti": 3, "enable_if_numb": 0, "end": [1, 3], "endl": [0, 1, 2, 3], "endpoint": 4, "ensur": 0, "entir": 2, "entiti": 1, "error": 0, "error_messag": 3, "everi": 0, "exampl": [0, 1, 3, 4], "except": 0, "excess": 0, "exist": 1, "exit": 3, "explicit": 3, "express": 0, "extend": 1, "extens": 3, "f": [2, 3], "factori": 2, "fail": [0, 3], "failur": 0, "favor": 3, "field": [0, 1, 3], "file": [2, 3], "file_info": [2, 3], "fileinfo": [2, 3], "fileinfofromdescriptor": 3, "filenam": 2, "fileselector": [2, 3], "filesystem": [2, 3], "filesystemdatasetfactori": 2, "filesystemfactoryopt": 2, "final": 3, "find": 2, "findtestdatafil": 3, "finish": [0, 1, 2], "first": [1, 2, 3], "flavor": 2, "flight": 4, "flight_dataset": 3, "flight_info": 3, "flightclient": 3, "flightclientopt": 3, "flightdatastream": 3, "flightdescriptor": 3, "flightendpoint": 3, "flightinfo": 3, "flightlist": 3, "flightmessageread": 3, "flightmetadataread": 3, "flightmetadatawrit": 3, "flightserverbas": 3, "flightserveropt": 3, "flightstreamread": 3, "flightstreamwrit": 3, "float": 0, "float64": [0, 1], "follow": [1, 2], "forgrpctcp": 3, "format": [2, 3], "fortun": 0, "freed": 3, "from": [2, 4], "fromarrai": 1, "fromstr": 3, "function": [0, 3], "gen_": 1, "gener": [3, 4], "generic_opt": 3, "get": [1, 3], "getfileinfo": [2, 3], "getflightinfo": 3, "getrecordbatchread": 3, "getschema": 3, "given": [0, 4], "go": 2, "goe": [0, 3], "good": 1, "ground": 0, "grpc": 4, "grpc_arg_max_send_message_length": 3, "grpc_servic": 3, "guarante": 2, "ha": 1, "handl": [0, 3], "has_valu": 0, "have": [0, 1, 2], "hello": 3, "hellorequest": 3, "hellorespons": 3, "helloworldservic": 3, "helloworldserviceimpl": 3, "here": 2, "hive": 2, "hivepartit": 2, "hook": 3, "how": [0, 2, 4], "howev": 0, "html": 3, "http": 3, "i": [0, 1, 2, 3, 4], "idea": 1, "implement": [1, 3, 4], "import": 0, "indent": 3, "index": [1, 4], "individu": [0, 2], "infer": 2, "info": 3, "info_schema": 3, "init": 3, "inlin": 0, "inner_batch": 1, "input": 3, "insecurechannelcredenti": 3, "insert": 1, "inspect": 2, "instanc": 2, "int": [2, 3], "int32": [0, 2, 3], "int32_t": [0, 1], "int32build": [0, 1], "int64_t": [1, 3], "int64build": 1, "integ": 0, "intend": 0, "invalid": [0, 3], "invalid_argu": 3, "io": 3, "ioerror": 3, "iota": 3, "ipc": [2, 3], "isfil": [2, 3], "iter": 1, "itself": 3, "just": 3, "kactiondropdataset": 3, "keep": 3, "kei": [2, 3], "kind": 2, "know": 3, "last": 1, "last_val": 1, "layer": 3, "length": [0, 1, 3], "let": 2, "leverag": 0, "librari": [0, 3], "limit": 3, "link": 3, "list": [1, 2, 3], "listact": 3, "listarrai": 1, "listen": 3, "listflight": 3, "listtyp": 1, "ll": 3, "localfilesystem": [2, 3], "localhost": 3, "locat": 3, "logic": 0, "long_build": 1, "low": 3, "macro": 0, "mai": 2, "make": [0, 1, 2, 3], "make_shar": [2, 3], "makefactori": 2, "makeflightinfo": 3, "manag": 2, "mani": 4, "manual": [0, 2], "maximum": 3, "mean": 1, "memori": 2, "messag": 3, "metadata": [2, 3], "metadata_read": 3, "method": 2, "middl": 0, "might": 4, "modul": 4, "month": [2, 3], "more": [2, 3], "move": 3, "mt19937": 1, "multipl": 0, "must": [0, 3], "n": 1, "name": 3, "necessari": 2, "need": [0, 1, 2, 3, 4], "new": [1, 3], "newstub": 3, "next": 3, "non": 3, "normal": 3, "normal_distribut": 1, "note": 3, "notimpl": [0, 1, 3], "now": 2, "null": 0, "nullbuild": 0, "num_column": 2, "num_print": 2, "num_row": [0, 1, 2, 3], "num_row_group": 3, "num_rows_": 1, "number": [1, 2, 3], "numer": 0, "object": [0, 2, 4], "offset": 1, "often": [0, 2], "ok": [0, 1, 3], "onc": [2, 3], "one": [2, 3], "onli": [0, 1], "open": 3, "openfil": 3, "openinputfil": 3, "openoutputstream": 3, "oper": 0, "option": [0, 2, 4], "order": [0, 2], "org": 3, "other": [1, 2, 4], "our": [2, 3], "out": 2, "output": [0, 1, 2, 3], "over": 0, "overrid": 3, "own": 3, "ownership": 1, "owning_read": 3, "ozon": [2, 3], "page": 4, "parquet": [2, 4], "parquet_read": 3, "parquetfileformat": 2, "parquetstorageservic": 3, "pars": 2, "part": 2, "partial": [0, 2], "partit": 4, "partitioning_factori": 2, "partitioningfactori": 2, "pass": 3, "path": [2, 3], "pattern": [1, 4], "perform": [2, 4], "pick": 2, "piec": 2, "point": 0, "pointer": 1, "poisson_distribut": 1, "port": 3, "posit": 0, "prettyprint": 3, "prettyprintopt": 3, "primit": 1, "print_opt": 3, "privat": 3, "protect": 1, "proto3": 3, "protobuf": 3, "provid": [0, 2, 3], "public": [0, 1, 3], "push_back": [0, 1, 3], "put_stream": 3, "quickli": 0, "r": [2, 3], "random": 4, "random_devic": 1, "randomaccessfil": 3, "randombatchgener": 1, "raw": 1, "raw_build": 3, "rd_": 1, "read": [3, 4], "reader": 3, "readtabl": 3, "recip": [1, 2, 3, 4], "recogn": 3, "record": 1, "recordbatch": [0, 1, 3], "recordbatchread": 3, "recordbatchstream": 3, "recurs": 2, "refer": [2, 3], "regardless": 0, "regist": 3, "registerservic": 3, "reinterpret_cast": 3, "relat": 1, "repli": 3, "request": 3, "reserv": 0, "respons": 3, "result": [1, 3, 4], "resultstream": 3, "retriev": 3, "return": [0, 1, 3], "robust": 4, "root": 3, "root_": 3, "rout": [0, 1, 2, 3], "row": 2, "row_group": 3, "rpc": 3, "run": 0, "same": 3, "sayhello": 3, "scalar": 0, "scan": 2, "scanner": 2, "scanner_build": 2, "scannerbuild": 2, "schema": [0, 2, 3, 4], "scheme": 2, "search": [2, 4], "section": [0, 2, 3], "see": [0, 2, 3], "selector": [2, 3], "sent": 3, "serv": 4, "server_loc": 3, "serverbuild": 3, "servercallcontext": 3, "servercontext": 3, "servic": 4, "set": [1, 4], "set_nam": 3, "set_repli": 3, "sever": 2, "shared_ptr": [0, 1, 2, 3], "should": 1, "show": 2, "shut": 3, "shutdown": 3, "simpl": 4, "simpleflightlist": 3, "simpleresultstream": 3, "simplic": 3, "simplifi": 2, "sinc": 1, "singl": 0, "sink": 3, "size": [1, 2, 3], "snippet": 2, "so": [2, 3], "solar": [2, 3], "solut": 4, "solv": 4, "some": [0, 2], "sometim": 2, "special": [0, 3], "specif": 3, "specifi": 2, "st": 0, "standard": 4, "start": 3, "static": 3, "static_cast": 0, "statu": [1, 3, 4], "statuscod": 3, "std": [0, 1, 2, 3], "stddev": 1, "step": 2, "stop": 3, "storag": 4, "store": 3, "str_builder": 1, "stream": 3, "string": [1, 2, 3], "stringbuild": 1, "strval": 1, "stub": 3, "sub": 1, "subclass": [0, 1], "subset": 0, "substr": 2, "subtreefilesystem": 3, "succeed": 0, "successfulli": 3, "sum": 0, "summat": 0, "support": 1, "syntax": 3, "t": [0, 3], "tabl": [0, 1, 2, 3], "tablebatchread": 3, "tablesumm": 0, "tabular": [2, 3], "take": [0, 1], "task": 4, "tcp": 3, "tediou": 0, "temp": [2, 3], "templat": 0, "tensor": 1, "test": 1, "test_fn": 0, "than": 0, "them": 3, "thi": [0, 1, 2, 3, 4], "those": 4, "throw": 0, "ticket": 3, "time": 1, "torecordbatch": 3, "tostr": [0, 1, 2, 3], "totabl": [2, 3], "total": 0, "total_byt": 3, "total_record": 3, "trait": 0, "true": [2, 3], "type": [1, 3], "typeclass": 0, "typenam": 0, "typic": 2, "u": 2, "underli": [1, 3], "unique_ptr": 3, "unknown": 3, "up": 2, "upload": 3, "us": [1, 2, 3, 4], "user": [3, 4], "usethread": 2, "util": 2, "validateful": 1, "valu": [0, 1, 2, 3], "value_gen": 1, "value_typ": 1, "varieti": 2, "vector": [0, 1, 2, 3], "verbos": 0, "veri": 3, "visit": [0, 1], "visitarrayinlin": 0, "visitor": [1, 4], "visitscalarinlin": 0, "visittypeinlin": [0, 1], "void": 3, "we": [2, 3], "well": [2, 4], "when": [0, 3, 4], "which": [1, 2, 3, 4], "while": 3, "wind": [2, 3], "window": 3, "within": 2, "won": 3, "work": [2, 3, 4], "world": 3, "would": 3, "write": [0, 3, 4], "writer": 3, "writerecordbatch": 3, "writet": 3, "wrote": 3, "x": 1, "y": 1, "you": [0, 1, 2, 3], "z": 1}, "titles": ["Working with the C++ Implementation", "Creating Arrow Objects", "Reading and Writing Datasets", "Arrow Flight", "Apache Arrow C++ Cookbook"], "titleterms": {"across": 0, "apach": 4, "arrai": 1, "arrow": [0, 1, 3, 4], "c": [0, 1, 4], "client": 3, "comput": 0, "content": [0, 1, 2, 3, 4], "cookbook": 4, "creat": [1, 3], "data": [0, 1], "dataset": 2, "endpoint": 3, "flight": 3, "from": 1, "gener": [0, 1], "given": 1, "grpc": 3, "implement": 0, "indic": 4, "object": 1, "option": 3, "other": 3, "parquet": 3, "partit": 2, "pattern": 0, "random": [0, 1], "read": 2, "result": 0, "schema": 1, "server": 3, "servic": 3, "set": 3, "simpl": 3, "standard": 1, "statu": 0, "storag": 3, "tabl": 4, "type": 0, "us": 0, "visitor": 0, "work": 0, "write": 2}})