{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.DMS.Types.ParquetVersionValue
( ParquetVersionValue
( ..,
ParquetVersionValue_Parquet_1_0,
ParquetVersionValue_Parquet_2_0
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ParquetVersionValue = ParquetVersionValue'
{ ParquetVersionValue -> Text
fromParquetVersionValue ::
Core.Text
}
deriving stock
( Int -> ParquetVersionValue -> ShowS
[ParquetVersionValue] -> ShowS
ParquetVersionValue -> String
(Int -> ParquetVersionValue -> ShowS)
-> (ParquetVersionValue -> String)
-> ([ParquetVersionValue] -> ShowS)
-> Show ParquetVersionValue
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ParquetVersionValue] -> ShowS
$cshowList :: [ParquetVersionValue] -> ShowS
show :: ParquetVersionValue -> String
$cshow :: ParquetVersionValue -> String
showsPrec :: Int -> ParquetVersionValue -> ShowS
$cshowsPrec :: Int -> ParquetVersionValue -> ShowS
Prelude.Show,
ReadPrec [ParquetVersionValue]
ReadPrec ParquetVersionValue
Int -> ReadS ParquetVersionValue
ReadS [ParquetVersionValue]
(Int -> ReadS ParquetVersionValue)
-> ReadS [ParquetVersionValue]
-> ReadPrec ParquetVersionValue
-> ReadPrec [ParquetVersionValue]
-> Read ParquetVersionValue
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ParquetVersionValue]
$creadListPrec :: ReadPrec [ParquetVersionValue]
readPrec :: ReadPrec ParquetVersionValue
$creadPrec :: ReadPrec ParquetVersionValue
readList :: ReadS [ParquetVersionValue]
$creadList :: ReadS [ParquetVersionValue]
readsPrec :: Int -> ReadS ParquetVersionValue
$creadsPrec :: Int -> ReadS ParquetVersionValue
Prelude.Read,
ParquetVersionValue -> ParquetVersionValue -> Bool
(ParquetVersionValue -> ParquetVersionValue -> Bool)
-> (ParquetVersionValue -> ParquetVersionValue -> Bool)
-> Eq ParquetVersionValue
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c/= :: ParquetVersionValue -> ParquetVersionValue -> Bool
== :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c== :: ParquetVersionValue -> ParquetVersionValue -> Bool
Prelude.Eq,
Eq ParquetVersionValue
Eq ParquetVersionValue
-> (ParquetVersionValue -> ParquetVersionValue -> Ordering)
-> (ParquetVersionValue -> ParquetVersionValue -> Bool)
-> (ParquetVersionValue -> ParquetVersionValue -> Bool)
-> (ParquetVersionValue -> ParquetVersionValue -> Bool)
-> (ParquetVersionValue -> ParquetVersionValue -> Bool)
-> (ParquetVersionValue
-> ParquetVersionValue -> ParquetVersionValue)
-> (ParquetVersionValue
-> ParquetVersionValue -> ParquetVersionValue)
-> Ord ParquetVersionValue
ParquetVersionValue -> ParquetVersionValue -> Bool
ParquetVersionValue -> ParquetVersionValue -> Ordering
ParquetVersionValue -> ParquetVersionValue -> ParquetVersionValue
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: ParquetVersionValue -> ParquetVersionValue -> ParquetVersionValue
$cmin :: ParquetVersionValue -> ParquetVersionValue -> ParquetVersionValue
max :: ParquetVersionValue -> ParquetVersionValue -> ParquetVersionValue
$cmax :: ParquetVersionValue -> ParquetVersionValue -> ParquetVersionValue
>= :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c>= :: ParquetVersionValue -> ParquetVersionValue -> Bool
> :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c> :: ParquetVersionValue -> ParquetVersionValue -> Bool
<= :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c<= :: ParquetVersionValue -> ParquetVersionValue -> Bool
< :: ParquetVersionValue -> ParquetVersionValue -> Bool
$c< :: ParquetVersionValue -> ParquetVersionValue -> Bool
compare :: ParquetVersionValue -> ParquetVersionValue -> Ordering
$ccompare :: ParquetVersionValue -> ParquetVersionValue -> Ordering
$cp1Ord :: Eq ParquetVersionValue
Prelude.Ord,
(forall x. ParquetVersionValue -> Rep ParquetVersionValue x)
-> (forall x. Rep ParquetVersionValue x -> ParquetVersionValue)
-> Generic ParquetVersionValue
forall x. Rep ParquetVersionValue x -> ParquetVersionValue
forall x. ParquetVersionValue -> Rep ParquetVersionValue x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ParquetVersionValue x -> ParquetVersionValue
$cfrom :: forall x. ParquetVersionValue -> Rep ParquetVersionValue x
Prelude.Generic
)
deriving newtype
( Int -> ParquetVersionValue -> Int
ParquetVersionValue -> Int
(Int -> ParquetVersionValue -> Int)
-> (ParquetVersionValue -> Int) -> Hashable ParquetVersionValue
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ParquetVersionValue -> Int
$chash :: ParquetVersionValue -> Int
hashWithSalt :: Int -> ParquetVersionValue -> Int
$chashWithSalt :: Int -> ParquetVersionValue -> Int
Prelude.Hashable,
ParquetVersionValue -> ()
(ParquetVersionValue -> ()) -> NFData ParquetVersionValue
forall a. (a -> ()) -> NFData a
rnf :: ParquetVersionValue -> ()
$crnf :: ParquetVersionValue -> ()
Prelude.NFData,
Text -> Either String ParquetVersionValue
(Text -> Either String ParquetVersionValue)
-> FromText ParquetVersionValue
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ParquetVersionValue
$cfromText :: Text -> Either String ParquetVersionValue
Core.FromText,
ParquetVersionValue -> Text
(ParquetVersionValue -> Text) -> ToText ParquetVersionValue
forall a. (a -> Text) -> ToText a
toText :: ParquetVersionValue -> Text
$ctoText :: ParquetVersionValue -> Text
Core.ToText,
ParquetVersionValue -> ByteString
(ParquetVersionValue -> ByteString)
-> ToByteString ParquetVersionValue
forall a. (a -> ByteString) -> ToByteString a
toBS :: ParquetVersionValue -> ByteString
$ctoBS :: ParquetVersionValue -> ByteString
Core.ToByteString,
ParquetVersionValue -> ByteStringBuilder
(ParquetVersionValue -> ByteStringBuilder)
-> ToLog ParquetVersionValue
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ParquetVersionValue -> ByteStringBuilder
$cbuild :: ParquetVersionValue -> ByteStringBuilder
Core.ToLog,
HeaderName -> ParquetVersionValue -> [Header]
(HeaderName -> ParquetVersionValue -> [Header])
-> ToHeader ParquetVersionValue
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ParquetVersionValue -> [Header]
$ctoHeader :: HeaderName -> ParquetVersionValue -> [Header]
Core.ToHeader,
ParquetVersionValue -> QueryString
(ParquetVersionValue -> QueryString) -> ToQuery ParquetVersionValue
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ParquetVersionValue -> QueryString
$ctoQuery :: ParquetVersionValue -> QueryString
Core.ToQuery,
Value -> Parser [ParquetVersionValue]
Value -> Parser ParquetVersionValue
(Value -> Parser ParquetVersionValue)
-> (Value -> Parser [ParquetVersionValue])
-> FromJSON ParquetVersionValue
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ParquetVersionValue]
$cparseJSONList :: Value -> Parser [ParquetVersionValue]
parseJSON :: Value -> Parser ParquetVersionValue
$cparseJSON :: Value -> Parser ParquetVersionValue
Core.FromJSON,
FromJSONKeyFunction [ParquetVersionValue]
FromJSONKeyFunction ParquetVersionValue
FromJSONKeyFunction ParquetVersionValue
-> FromJSONKeyFunction [ParquetVersionValue]
-> FromJSONKey ParquetVersionValue
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ParquetVersionValue]
$cfromJSONKeyList :: FromJSONKeyFunction [ParquetVersionValue]
fromJSONKey :: FromJSONKeyFunction ParquetVersionValue
$cfromJSONKey :: FromJSONKeyFunction ParquetVersionValue
Core.FromJSONKey,
[ParquetVersionValue] -> Encoding
[ParquetVersionValue] -> Value
ParquetVersionValue -> Encoding
ParquetVersionValue -> Value
(ParquetVersionValue -> Value)
-> (ParquetVersionValue -> Encoding)
-> ([ParquetVersionValue] -> Value)
-> ([ParquetVersionValue] -> Encoding)
-> ToJSON ParquetVersionValue
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ParquetVersionValue] -> Encoding
$ctoEncodingList :: [ParquetVersionValue] -> Encoding
toJSONList :: [ParquetVersionValue] -> Value
$ctoJSONList :: [ParquetVersionValue] -> Value
toEncoding :: ParquetVersionValue -> Encoding
$ctoEncoding :: ParquetVersionValue -> Encoding
toJSON :: ParquetVersionValue -> Value
$ctoJSON :: ParquetVersionValue -> Value
Core.ToJSON,
ToJSONKeyFunction [ParquetVersionValue]
ToJSONKeyFunction ParquetVersionValue
ToJSONKeyFunction ParquetVersionValue
-> ToJSONKeyFunction [ParquetVersionValue]
-> ToJSONKey ParquetVersionValue
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ParquetVersionValue]
$ctoJSONKeyList :: ToJSONKeyFunction [ParquetVersionValue]
toJSONKey :: ToJSONKeyFunction ParquetVersionValue
$ctoJSONKey :: ToJSONKeyFunction ParquetVersionValue
Core.ToJSONKey,
[Node] -> Either String ParquetVersionValue
([Node] -> Either String ParquetVersionValue)
-> FromXML ParquetVersionValue
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ParquetVersionValue
$cparseXML :: [Node] -> Either String ParquetVersionValue
Core.FromXML,
ParquetVersionValue -> XML
(ParquetVersionValue -> XML) -> ToXML ParquetVersionValue
forall a. (a -> XML) -> ToXML a
toXML :: ParquetVersionValue -> XML
$ctoXML :: ParquetVersionValue -> XML
Core.ToXML
)
pattern ParquetVersionValue_Parquet_1_0 :: ParquetVersionValue
pattern $bParquetVersionValue_Parquet_1_0 :: ParquetVersionValue
$mParquetVersionValue_Parquet_1_0 :: forall r. ParquetVersionValue -> (Void# -> r) -> (Void# -> r) -> r
ParquetVersionValue_Parquet_1_0 = ParquetVersionValue' "parquet-1-0"
pattern ParquetVersionValue_Parquet_2_0 :: ParquetVersionValue
pattern $bParquetVersionValue_Parquet_2_0 :: ParquetVersionValue
$mParquetVersionValue_Parquet_2_0 :: forall r. ParquetVersionValue -> (Void# -> r) -> (Void# -> r) -> r
ParquetVersionValue_Parquet_2_0 = ParquetVersionValue' "parquet-2-0"
{-# COMPLETE
ParquetVersionValue_Parquet_1_0,
ParquetVersionValue_Parquet_2_0,
ParquetVersionValue'
#-}