Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pinecone.Metadata
Description
Pinecone's filtering query language
Synopsis
- data Scalar
- data Filter
- = Equal Text Scalar
- | NotEqual Text Scalar
- | GreaterThan Text Scientific
- | GreaterThanOrEqual Text Scientific
- | LessThan Text Scientific
- | LessThanOrEqual Text Scientific
- | In Text Scalar
- | NotIn Text Scalar
- | Exists Text Bool
- | And (Vector Filter)
- | Or (Vector Filter)
Documentation
A scalar value used for metadata filters
Constructors
ScalarNumber Scientific | |
ScalarString Text | |
ScalarBoolean Bool |
Instances
Metadata query language
Constructors
Equal Text Scalar | |
NotEqual Text Scalar | |
GreaterThan Text Scientific | |
GreaterThanOrEqual Text Scientific | |
LessThan Text Scientific | |
LessThanOrEqual Text Scientific | |
In Text Scalar | |
NotIn Text Scalar | |
Exists Text Bool | |
And (Vector Filter) | |
Or (Vector Filter) |
Instances
FromJSON Filter Source # | |||||
Defined in Pinecone.Metadata | |||||
ToJSON Filter Source # | |||||
Generic Filter Source # | |||||
Defined in Pinecone.Metadata Associated Types
| |||||
Show Filter Source # | |||||
Eq Filter Source # | |||||
type Rep Filter Source # | |||||
Defined in Pinecone.Metadata type Rep Filter = D1 ('MetaData "Filter" "Pinecone.Metadata" "pinecone-1.0.0-7sPMkenjlXND9bEx63ZbSL" 'False) (((C1 ('MetaCons "Equal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scalar)) :+: C1 ('MetaCons "NotEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scalar))) :+: (C1 ('MetaCons "GreaterThan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scientific)) :+: (C1 ('MetaCons "GreaterThanOrEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scientific)) :+: C1 ('MetaCons "LessThan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scientific))))) :+: ((C1 ('MetaCons "LessThanOrEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scientific)) :+: (C1 ('MetaCons "In" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scalar)) :+: C1 ('MetaCons "NotIn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Scalar)))) :+: (C1 ('MetaCons "Exists" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: (C1 ('MetaCons "And" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Filter))) :+: C1 ('MetaCons "Or" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Filter))))))) |