public class Expressions extends Object
| Constructor and Description |
|---|
Expressions() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.Schema |
filterSchema(org.apache.avro.Schema schema,
List<String> fieldPaths) |
static org.apache.avro.Schema |
filterSchema(org.apache.avro.Schema schema,
String... fieldPaths)
a.2.b[3]["key"]
* optional (union with null) should be ignored
* unions should match by position number or short name (e.g.
|
static Object |
select(org.apache.avro.Schema schema,
Object datum,
String path) |
public static org.apache.avro.Schema filterSchema(org.apache.avro.Schema schema,
String... fieldPaths)
schema - an Avro schemafieldPaths - selected field pathsCopyright © 2021 The Apache Software Foundation. All rights reserved.