Struct: query.Value

import "../ibm-cos-sdk-go-v2/aws/protocol/query"

Overview

Value represents a Query Value type.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (qv Value) Array(locationName string) *Array

Array returns a new Array encoder.



48
49
50
// File 'aws/protocol/query/value.go', line 48

func (qv Value) Array(locationName string) *Array { return newArray(qv.values, qv.key, qv.flat, locationName) }

func (qv Value) Base64EncodeBytes(v []byte)

Base64EncodeBytes encodes v as a base64 query string value. This is intended to enable compatibility with the JSON encoder.



64
65
66
// File 'aws/protocol/query/value.go', line 64

func (qv Value) Base64EncodeBytes(v []byte) { qv.queryValue.Blob(v) }

func (qv Value) BigDecimal(v *big.Float)

BigDecimal encodes v as a query string value



114
115
116
// File 'aws/protocol/query/value.go', line 114

func (qv Value) BigDecimal(v *big.Float) { qv.queryValue.BigDecimal(v) }

func (qv Value) BigInteger(v *big.Int)

BigInteger encodes v as a query string value



109
110
111
// File 'aws/protocol/query/value.go', line 109

func (qv Value) BigInteger(v *big.Int) { qv.queryValue.BigInteger(v) }

func (qv Value) Boolean(v bool)

Boolean encodes v as a query string value



69
70
71
// File 'aws/protocol/query/value.go', line 69

func (qv Value) Boolean(v bool) { qv.queryValue.Boolean(v) }

func (qv Value) Byte(v int8)

Byte encodes v as a query string value



79
80
81
// File 'aws/protocol/query/value.go', line 79

func (qv Value) Byte(v int8) { qv.queryValue.Byte(v) }

func (qv Value) Double(v float64)

Double encodes v as a query string value



104
105
106
// File 'aws/protocol/query/value.go', line 104

func (qv Value) Double(v float64) { qv.queryValue.Double(v) }

func (qv Value) Float(v float32)

Float encodes v as a query string value



99
100
101
// File 'aws/protocol/query/value.go', line 99

func (qv Value) Float(v float32) { qv.queryValue.Float(v) }

func (qv Value) Integer(v int32)

Integer encodes v as a query string value



89
90
91
// File 'aws/protocol/query/value.go', line 89

func (qv Value) Integer(v int32) { qv.queryValue.Integer(v) }

func (qv Value) Long(v int64)

Long encodes v as a query string value



94
95
96
// File 'aws/protocol/query/value.go', line 94

func (qv Value) Long(v int64) { qv.queryValue.Long(v) }

func (qv Value) Map(keyLocationName string, valueLocationName string) *Map

Map returns a new Map encoder.



58
59
60
// File 'aws/protocol/query/value.go', line 58

func (qv Value) Map(keyLocationName string, valueLocationName string) *Map { return newMap(qv.values, qv.key, qv.flat, keyLocationName, valueLocationName) }

func (qv Value) Object() *Object

Object returns a new Object encoder.



53
54
55
// File 'aws/protocol/query/value.go', line 53

func (qv Value) Object() *Object { return newObject(qv.values, qv.key) }

func (qv Value) Short(v int16)

Short encodes v as a query string value



84
85
86
// File 'aws/protocol/query/value.go', line 84

func (qv Value) Short(v int16) { qv.queryValue.Short(v) }

func (qv Value) String(v string)

String encodes v as a query string value



74
75
76
// File 'aws/protocol/query/value.go', line 74

func (qv Value) String(v string) { qv.queryValue.String(v) }