Package org.apache.iceberg.avro
Class Avro
- java.lang.Object
-
- org.apache.iceberg.avro.Avro
-
public class Avro extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Avro.DataWriteBuilder
static class
Avro.DeleteWriteBuilder
static class
Avro.ReadBuilder
static class
Avro.WriteBuilder
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Avro.ReadBuilder
read(InputFile file)
static long
rowCount(InputFile file)
Returns number of rows in specified Avro filestatic Avro.WriteBuilder
write(OutputFile file)
static Avro.DataWriteBuilder
writeData(OutputFile file)
static Avro.DeleteWriteBuilder
writeDeletes(OutputFile file)
-
-
-
Method Detail
-
write
public static Avro.WriteBuilder write(OutputFile file)
-
writeData
public static Avro.DataWriteBuilder writeData(OutputFile file)
-
writeDeletes
public static Avro.DeleteWriteBuilder writeDeletes(OutputFile file)
-
read
public static Avro.ReadBuilder read(InputFile file)
-
rowCount
public static long rowCount(InputFile file)
Returns number of rows in specified Avro file- Parameters:
file
- Avro file- Returns:
- number of rows in file
-
-