Class EncoderHelpers.Utils
java.lang.Object
org.apache.beam.runners.spark.structuredstreaming.translation.helpers.EncoderHelpers.Utils
- Enclosing class:
EncoderHelpers
Encoder / expression utils that are called from generated code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyToList
(org.apache.spark.sql.catalyst.util.ArrayData arrayData, org.apache.spark.sql.types.DataType type) static Instant
maxTimestamp
(Iterable<BoundedWindow> windows) The end of the only window (max timestamp).static PaneInfo
paneInfoFromBytes
(byte[] bytes) static byte[]
paneInfoToBytes
(PaneInfo paneInfo) toMap
(org.apache.spark.sql.catalyst.util.ArrayData keys, org.apache.spark.sql.catalyst.util.ArrayData values, org.apache.spark.sql.types.DataType keyType, org.apache.spark.sql.types.DataType valueType) static scala.collection.Seq
<Object> toSeq
(Collection<Object> col) static scala.collection.Seq
<Object> toSeq
(org.apache.spark.sql.catalyst.util.ArrayData arrayData) toTreeMap
(org.apache.spark.sql.catalyst.util.ArrayData keys, org.apache.spark.sql.catalyst.util.ArrayData values, org.apache.spark.sql.types.DataType keyType, org.apache.spark.sql.types.DataType valueType)
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
paneInfoFromBytes
-
paneInfoToBytes
-
maxTimestamp
The end of the only window (max timestamp). -
copyToList
-
toSeq
public static scala.collection.Seq<Object> toSeq(org.apache.spark.sql.catalyst.util.ArrayData arrayData) -
toSeq
-
toTreeMap
-
toMap
-