UNPKG

apache-arrow

Version:

Apache Arrow columnar in-memory format

37 lines (36 loc) 1.29 kB
/** * Represents Arrow Features that might not have full support * within implementations. This is intended to be used in * two scenarios: * 1. A mechanism for readers of Arrow Streams * and files to understand that the stream or file makes * use of a feature that isn't supported or unknown to * the implementation (and therefore can meet the Arrow * forward compatibility guarantees). * 2. A means of negotiating between a client and server * what features a stream is allowed to use. The enums * values here are intented to represent higher level * features, additional details maybe negotiated * with key-value pairs specific to the protocol. * * Enums added to this list should be assigned power-of-two values * to facilitate exchanging and comparing bitmaps for supported * features. */ export declare enum Feature { /** * Needed to make flatbuffers happy. */ UNUSED = "0", /** * The stream makes use of multiple full dictionaries with the * same ID and assumes clients implement dictionary replacement * correctly. */ DICTIONARY_REPLACEMENT = "1", /** * The stream makes use of compressed bodies as described * in Message.fbs. */ COMPRESSED_BODY = "2" }