!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ None=K&Record/Tuple conversion. For example: data Peer = Peer { peerAddr :: IP , peerRPC :: IP , peerDC :: Text , peerRack :: Text } deriving Show recordInstance ''Peer map asRecord <$> performQuery "SELECT peer, rpc_address, data_center, rack FROM system.peers" MThe generated type-class instance maps between record and tuple constructors: type instance TupleType Peer = (IP, IP, Text, Text) instance Record Peer where asTuple (Peer a b c d) = (a, b, c, d) asRecord (a, b, c, d) = Peer a b c d  None #Tag some value with a phantom type. hA CQL value. The various constructors correspond to CQL data-types for individual columns in Cassandra. binary protocol version >= 3 binary protocol version >= 34 The type of a single CQL column.L8An opcode is a tag to distinguish protocol frame bodies.]Consistency level.r2The CQL version (not the binary protocol version).uCQL binary protocol version.v version 3w version 2{!ID representing a prepared query.~<Opaque token passed to the server to continue result paging.  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !  "#$%&'()*+,-./01234KJIHGFEDCBA@?>=<;:98765L\[ZYXWVUTSRQPONM] hgfedcba`_^ijklmnqportsuwvxyz{|}~None24M2A type that can be converted from and to some CQL  .RThis type-class is used to map custom types to Cassandra data-types. For example: newtype MyType = MyType Int32 instance Cql MyType where ctype = Tagged IntColumn toCql (MyType i) = CqlInt i fromCql (CqlInt i) = Right (MyType i) fromCql _ = Left "Expected CqlInt" the column-type of amap a to some CQL data-typemap a CQL value back to aPlease note that due to the fact that Cassandra internally represents empty collection type values (i.e. lists, maps and sets) as null, we can not distinguish Just [] from Nothing on response decoding.NoneE2)2None KType representing header flags. Flags form a monoid and can be used as in compress <> tracing <> mempty.QStreams allow multiplexing of requests over a single communication channel. The  correlates Requests with Responses.*The type denoting a protocol frame length.A response frame header.A request frame header.Protocol frame header.FDeserialise a frame header using the version specific decoding format.QCreate a StreamId from the given integral value. In version 2, a StreamId is an  and in version 3 an .$Convert the stream ID to an integer.7Compression flag. If set, the frame body is compressed.Tracing flag. If a request support tracing and the tracing flag was set, the response to this request will have the tracing flag set and contain tracing information.&Check if a particular flag is present.$NoneMNoneM None!"*M>Consistency level for the serial phase of conditional updates.Query parameters.consistency leven to useskip metadata in responsequery argumentsdesired result set sizeZA GADT to unify queries and prepared queries both of which can be used in batch requests. used for batched counter updatesskip the batch log0default, uses a batch log for atomic application@Allows executing a list of queries (prepared or not) as a batch.Event types to register.events related to schema change'events related to change of node status0events related to change in the cluster topologyRRegister's the connection this request is made through, to receive server events.)Prepare a query for later execution (cf. ).Executes a prepared query.#A CQL query (select, insert, etc.)."An options request, send prior to * to request the server's startup options.BA request send in response to a previous authentication challenge.A startup request which is used when initialising a connection to the server. It specifies the CQL version to use and optionally the compression algorithm.5The type corresponding to the protocol request frame.The type parameter kp denotes the kind of request. It is present to allow distinguishing read operations from write operations. Use  for read,  for write and  for schema related operations.a" represents the argument type and b! the return type of this request. Serialise the given request, optionally using compression. The result is either an error description in case of failure or a binary protocol frame, including ,  and body.Get the protocol L corresponding to the given .C     /protocol version, which determines the encodingcompression to useenable/disable tracingthe stream Id to usethe actual request to serialiseB           None+M !Error response.EIMessages send by the server without request, if the connection has been Registered to receive such events.Q"The column specification. Part of W unless  skipMetaData in  QueryParams was True.W Part of a  RowsResult. Describes the result set.\Query response.b<The startup options supported by the server. Response of an Options request.d6The server is ready to process queries. Response of a Startup request.f1Indicates the success of an authentication phase.h'A server-send authentication challenge.j#The server requires authentication.l6The type corresponding to the protocol response frame.The type parameter kq denotes the kind of response. It is present to allow distinguishing read operations from write operations. Use  for read,  for write and  for schema related operations.a" represents the argument type and b# the return type of this response.uDeserialise a l from the given .j !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~i !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  !>=<;:9876543.("/012)*+,-#$%&'?A@BDCEHGFILKJMPONQRSTUVWXYZ[\a`_^]bcdefghijkltsrqponmuvwxyz{|}~None  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~~{|}xyzuwvrtsnqpoijklm]hgfedcba`_^L\[ZYXWVUTSRQPONM4KJIHGFEDCBA@?>=<;:98765123./0+,-()*%&'"#$ !        ltsrqponmudeyjkhifgvwx\a`_^]WXYZ[QRSTUV{|bczEHGFBDCMPON?A@ILKJ}~!>=<;:9876543.("/012)*+,-#$%&'  None8  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstu8~{|}xyzuwvrtsnqpoijklm]hgfedcba`_^L\[ZYXWVUTSRQPONM4KJIHGFEDCBA@?>=<;:98765123./0+,-()*%&'"#$ !       ltsrqponmudejkhifg\a`_^]WXYZ[QRSTUVbcEHGFBDCMPON?A@ILKJ!>=<;:9876543.("/012)*+,-#$%&'    !"#$%&'()*+,--.//01123345567789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnnopqrstuvvwxyz{{|}}~                                                                           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B B C D E F G G H I J K L M N O P Q Q R R S S T T U U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l mnopqrstuvwxyz{|}~st   cql-3.0.3Database.CQL.Protocol.InternalDatabase.CQL.Protocol.RecordDatabase.CQL.Protocol.TypesDatabase.CQL.Protocol.ClassDatabase.CQL.Protocol.CodecDatabase.CQL.Protocol.HeaderDatabase.CQL.Protocol.Tuple.THDatabase.CQL.Protocol.TupleDatabase.CQL.Protocol.RequestDatabase.CQL.Protocol.ResponseDatabase.CQL.ProtocolRecordasTupleasRecord TupleTyperecordInstanceSWRTaggeduntagValueCqlUdtCqlTupleCqlMapCqlSetCqlListCqlMaybe CqlTimeUuid CqlCounterCqlBlobCqlAscii CqlTimestampCqlUuidCqlInetCqlText CqlDouble CqlDecimalCqlFloat CqlVarInt CqlBigIntCqlInt CqlBoolean CqlCustomMapfromMapSetfromSetTimeUuid fromTimeUuidCounter fromCounterBlobfromBlobAscii fromAscii ColumnType UdtColumn TupleColumn MapColumn SetColumn ListColumn MaybeColumn InetColumnTimeUuidColumn VarIntColumn VarCharColumn UuidColumnTimestampColumn TextColumn IntColumn FloatColumn DoubleColumn DecimalColumn CounterColumn BooleanColumn BlobColumn BigIntColumn AsciiColumn CustomColumnOpCode OcAuthSuccessOcAuthResponseOcAuthChallengeOcBatchOcEvent OcRegister OcExecute OcPrepareOcResultOcQuery OcSupported OcOptionsOcAuthenticateOcReady OcStartupOcError Consistency LocalSerialLocalOneSerial EachQuorum LocalQuorumAllQuorumThreeTwoOneAny Compression algorithmshrinkexpandCompressionAlgorithmNoneLZ4Snappy CqlVersionCqlv300VersionV3V2 QueryString unQueryStringQueryId unQueryId PagingState unPagingStateTableunTableKeyspace unKeyspace noCompressionretagCqlctypetoCqlfromCql encodeByte decodeByteencodeSignedBytedecodeSignedByte encodeShort decodeShortencodeSignedShortdecodeSignedShort encodeInt decodeInt encodeString decodeStringencodeLongStringdecodeLongString encodeBytes decodeBytesencodeShortBytesdecodeShortBytes encodeUUID decodeUUID encodeList decodeList encodeMap decodeMapencodeMultiMapdecodeMultiMapencodeSockAddrdecodeSockAddrencodeConsistencydecodeConsistency encodeOpCode decodeOpCodeencodeColumnTypedecodeColumnTypeencodePagingStatedecodePagingStateputValuegetValuedecodeKeyspace decodeTable decodeQueryIdFlagsStreamIdLength lengthRepr HeaderTypeRsHeaderRqHeaderHeader headerTypeversionflagsstreamIdopCode bodyLength encodeHeader decodeHeaderheader encodeLength decodeLength mkStreamId fromStreamIdencodeStreamIddecodeStreamId encodeFlags decodeFlagscompresstracingisSetTuplecountchecktuplestoreSerialConsistencyLocalSerialConsistency QueryParams consistency skipMetaDatavaluespageSizequeryPagingStateserialConsistency BatchQuery BatchPrepared BatchType BatchCounter BatchUnLogged BatchLoggedBatch batchType batchQuerybatchConsistencybatchSerialConsistency EventTypeSchemaChangeEventStatusChangeEventTopologyChangeEventRegisterPrepareExecuteQueryOptions AuthResponseStartupRequest RqExecuteRqQuery RqPrepare RqAuthRespRqBatch RqRegister RqOptions RqStartup encodeRequestpack getOpCode encodeStartupencodeAuthResponse encodeOptions encodeQuery encodeExecute encodePrepareencodeRegisterencodeEventType encodeBatchencodeBatchTypeencodeBatchQueryencodeQueryParams WriteType WriteCounterWriteUnloggedBatch WriteBatchLog WriteBatch WriteSimpleError WriteTimeoutwTimeoutMessagewTimeoutConsistencywTimeoutNumAckwTimeoutNumRequiredwTimeoutWriteType ReadTimeoutrTimeoutMessagerTimeoutConsistencyrTimeoutNumAckrTimeoutNumRequiredrTimeoutDataPresent UnavailableunavailMessageunavailConsistencyunavailNumRequiredunavailNumAlive Unprepared Unauthorized TruncateError SyntaxError ServerError ProtocolError OverloadedIsBootstrappingInvalid ConfigErrorBadCredentials AlreadyExists StatusChangeDownUpTopologyChange RemovedNodeNewNodeEvent SchemaEvent StatusEvent TopologyEventChange TypeChange TableChangeKeyspaceChange SchemaChange SchemaDropped SchemaUpdated SchemaCreated ColumnSpeckeyspacetable columnName columnTypeMetaData columnCount pagingState columnSpecsResultSchemaChangeResultPreparedResultSetKeyspaceResult RowsResult VoidResult SupportedReady AuthSuccess AuthChallenge AuthenticateResponseRsEventRsResult RsSupported RsAuthSuccessRsAuthChallengeRsAuthenticateRsReadyRsErrorunpackdecodeAuthenticatedecodeAuthChallengedecodeAuthSuccess decodeReadydecodeSupported decodeResultdecodeMetaDatadecodeSchemaChange decodeChange decodeEventdecodeTopologyChangedecodeStatusChange decodeErrordecodeWriteType typeSynDeclstart tupleType asTupleDecl asRecrdDecl$$$:$fIsStringAscii$fShowColumnType$fShowCompression$fIsStringQueryString $fCqlMaybe$fCqlSet$fCqlMap$fCql[] $fCqlTimeUuid $fCqlCounter $fCqlBlob $fCqlUTCTime $fCqlUUID$fCqlIP $fCqlAscii $fCqlText$fCqlDecimalRaw $fCqlDouble $fCqlFloat $fCqlInteger $fCqlInt64 $fCqlInt32 $fCqlBool putNative getNativegetList withBytesremainingBytesremainingBytesLazytoBytes integer2bytes bytes2integerbaseGHC.IntInt8Int16 mapHeaderType mapVersion toVersion $fMonoidFlags PrivateTuple genInstances tupleInstance countDecl checkDecl tupleDecl storeDecllitIntvarcontconelement typecheck$fTupleIdentity$fPrivateTupleIdentity $fTuple()$fPrivateTuple()$fPrivateTuple(,)mapConsbytestring-0.10.4.0Data.ByteString.Internal ByteString$fExceptionError