Description Format Public fields Methods Examples
Class defining the NullValues of various data types
An R6Class
generator object
DOUBLE
Null value for DOUBLE data type
FLOAT
Null value for FLOAT data type
INT32
Null value for INT32 data type
INT64
Null value for INT64 data type
STRING
Null value for STRING data type
TIMESTAMP
Null value for TIMESTAMP data type
DURATION
Null value for DURATION data type
new()
factset.protobuf.stach.NullValues$new()
clone()
The objects of this class are cloneable with this method.
factset.protobuf.stach.NullValues$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 7 8 9 10 11 12 13 | nullValues <- factset.protobuf.stach.NullValues$new()
# Null value comparison for Protobuf's String data type.
a <- 'null'
if(nullValues$STRING == a) print("a is the null") else print("a is not a null")
# Null value comparison for Protobuf's Int32 data type.
b <- new(google.protobuf.Int32Value, value = 2147483647)
if(nullValues$INT32 == b$value) print("b is the null") else print("b is not a null")
# Null value comparison for Protobuf's Duration data type.
c <- new(google.protobuf.Duration, seconds = 315576000000, nanos = 999999900)
if(nullValues$DURATION == c) print("c is the null") else print("c is not a null")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.