本文整理了Java中org.apache.avro.reflect.Union.<init>()
方法的一些代码示例,展示了Union.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Union.<init>()
方法的具体详情如下:
包路径:org.apache.avro.reflect.Union
类名称:Union
方法名:<init>
暂无
代码示例来源:origin: apache/avro
@Union({Void.class,String.class})
String foo(@Union({Void.class,String.class}) String s);
}
代码示例来源:origin: apache/avro
public static class R9_1 {
@Union({Void.class, R7.class, R8.class})
public Object value;
@Override
public boolean equals(Object o) {
if (!(o instanceof R9_1)) return false;
if (this.value == null) return ((R9_1)o).value == null;
return this.value.equals(((R9_1)o).value);
}
}
代码示例来源:origin: apache/avro
@Union({R7.class, R8.class})
public static class R6 {}
代码示例来源:origin: iflytek/Guitar
@Union({SumFormat.class, MaxFormat.class, MinFormat.class, AvgFormat.class, ValueDistFormat.class, RangeDistFormat.class, UVBitmapFormat.class, HyperLogLogFormat.class, HyperLogLogPlusFormat.class})
public abstract class AnalysisFormat extends ObjectValue {
代码示例来源:origin: org.apache.beam/beam-sdks-java-core
@Union({UnionCase1.class, UnionCase2.class})
private abstract static class DeterministicUnionBase {}
代码示例来源:origin: org.apache.beam/beam-sdks-java-core
@Union({UnionCase1.class, UnionCase2.class, UnionCase3.class})
private abstract static class NonDeterministicUnionBase {}
内容来源于网络,如有侵权,请联系作者删除!