replication-json
Module Contents
alltypes
Module Contents
@Named
(
"ndjson"
)
@ApplicationScoped
open
class
JSONDumpReplicationMessageParserImpl
:
ReplicationMessageParser
Module Contents
JSONDumpReplicationMessageParserImpl
(
)
open
fun
describe
(
msg
:
ReplicationMessage
!
)
:
String
!
open
fun
parseBytes
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
ReplicationMessage
!
open
fun
parseJson
(
source
:
Optional
<
String
!
>
!
,
on
:
ObjectNode
!
)
:
ReplicationMessage
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseStream
(
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
parseStream
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
ReplicationMessage
!
protected
open
fun
prettyPrint
(
)
:
Boolean
open
fun
serialize
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
fun
serializeMessageList
(
data
:
MutableList
<
ReplicationMessage
!
>
!
)
:
ByteArray
!
@Named
(
"json"
)
@ApplicationScoped
open
class
JSONReplicationMessageParserImpl
:
ReplicationMessageParser
Module Contents
JSONReplicationMessageParserImpl
(
)
open
fun
describe
(
msg
:
ReplicationMessage
!
)
:
String
!
open
fun
parseBytes
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
ReplicationMessage
!
open
fun
parseJson
(
source
:
Optional
<
String
!
>
!
,
on
:
ObjectNode
!
)
:
ReplicationMessage
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseStream
(
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
parseStream
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
serialize
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
fun
serializeMessageList
(
data
:
MutableList
<
ReplicationMessage
!
>
!
)
:
ByteArray
!
open
class
ReplicationJSON
Module Contents
ReplicationJSON
(
)
static
val
clocktimeFormatter
:
DateTimeFormatter
!
static
val
dateFormatter
:
DateTimeFormatter
!
static
val
dateTimeFormatter
:
DateTimeFormatter
!
open
static
fun
immutableTotalToJSON
(
msg
:
ImmutableMessage
!
)
:
ByteArray
!
open
static
fun
jsonDescriber
(
msg
:
ReplicationMessage
!
)
:
String
!
open
static
fun
jsonSerializer
(
msg
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
)
:
ByteArray
!
open
static
fun
jsonSerializer
(
msg
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
,
dumpKey
:
Boolean
)
:
ByteArray
!
static
val
objectMapper
:
ObjectMapper
!
open
static
fun
parseImmutable
(
data
:
ByteArray
!
)
:
ImmutableMessage
!
open
static
fun
parseJSON
(
source
:
Optional
<
String
!
>
!
,
node
:
ObjectNode
!
)
:
ReplicationMessage
!
open
static
fun
parseReplicationMessage
(
data
:
ByteArray
!
,
source
:
Optional
<
String
!
>
!
)
:
ReplicationMessage
!
open
static
fun
replicationToConnectJSON
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
static
fun
replicationToJSON
(
msg
:
ReplicationMessage
!
)
:
ObjectNode
!
open
static
fun
resolveValue
(
type
:
ValueType
!
,
jsonNode
:
JsonNode
!
)
:
Any
!
open
static
fun
toJSON
(
instance
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
)
:
ObjectNode
!
package
io.floodplain.replication.impl.json
Module Contents
@Named
(
"ndjson"
)
@ApplicationScoped
open
class
JSONDumpReplicationMessageParserImpl
:
ReplicationMessageParser
Module Contents
JSONDumpReplicationMessageParserImpl
(
)
open
fun
describe
(
msg
:
ReplicationMessage
!
)
:
String
!
open
fun
parseBytes
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
ReplicationMessage
!
open
fun
parseJson
(
source
:
Optional
<
String
!
>
!
,
on
:
ObjectNode
!
)
:
ReplicationMessage
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseStream
(
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
parseStream
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
ReplicationMessage
!
protected
open
fun
prettyPrint
(
)
:
Boolean
open
fun
serialize
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
fun
serializeMessageList
(
data
:
MutableList
<
ReplicationMessage
!
>
!
)
:
ByteArray
!
@Named
(
"json"
)
@ApplicationScoped
open
class
JSONReplicationMessageParserImpl
:
ReplicationMessageParser
Module Contents
JSONReplicationMessageParserImpl
(
)
open
fun
describe
(
msg
:
ReplicationMessage
!
)
:
String
!
open
fun
parseBytes
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
ReplicationMessage
!
open
fun
parseJson
(
source
:
Optional
<
String
!
>
!
,
on
:
ObjectNode
!
)
:
ReplicationMessage
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseMessageList
(
data
:
ByteArray
!
)
:
MutableList
<
ReplicationMessage
!
>
!
open
fun
parseStream
(
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
parseStream
(
source
:
Optional
<
String
!
>
!
,
data
:
InputStream
!
)
:
ReplicationMessage
!
open
fun
serialize
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
fun
serializeMessageList
(
data
:
MutableList
<
ReplicationMessage
!
>
!
)
:
ByteArray
!
open
class
ReplicationJSON
Module Contents
ReplicationJSON
(
)
static
val
clocktimeFormatter
:
DateTimeFormatter
!
static
val
dateFormatter
:
DateTimeFormatter
!
static
val
dateTimeFormatter
:
DateTimeFormatter
!
open
static
fun
immutableTotalToJSON
(
msg
:
ImmutableMessage
!
)
:
ByteArray
!
open
static
fun
jsonDescriber
(
msg
:
ReplicationMessage
!
)
:
String
!
open
static
fun
jsonSerializer
(
msg
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
)
:
ByteArray
!
open
static
fun
jsonSerializer
(
msg
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
,
dumpKey
:
Boolean
)
:
ByteArray
!
static
val
objectMapper
:
ObjectMapper
!
open
static
fun
parseImmutable
(
data
:
ByteArray
!
)
:
ImmutableMessage
!
open
static
fun
parseJSON
(
source
:
Optional
<
String
!
>
!
,
node
:
ObjectNode
!
)
:
ReplicationMessage
!
open
static
fun
parseReplicationMessage
(
data
:
ByteArray
!
,
source
:
Optional
<
String
!
>
!
)
:
ReplicationMessage
!
open
static
fun
replicationToConnectJSON
(
msg
:
ReplicationMessage
!
)
:
ByteArray
!
open
static
fun
replicationToJSON
(
msg
:
ReplicationMessage
!
)
:
ObjectNode
!
open
static
fun
resolveValue
(
type
:
ValueType
!
,
jsonNode
:
JsonNode
!
)
:
Any
!
open
static
fun
toJSON
(
instance
:
ReplicationMessage
!
,
includeNullValues
:
Boolean
)
:
ObjectNode
!