@Override public void readFields(DataInput input) throws IOException { super.readFields(input); divBy = WritableUtils.readVLong(input); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); initialize(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); initialize(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); } }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); initialize(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); } }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); scale = WritableUtils.readVInt(input); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); formatString = WritableUtils.readString(input); type = WritableUtils.readEnum(input, FunctionArgumentType.class); formatter = type.getFormatter(formatString); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); formatString = WritableUtils.readString(input); type = WritableUtils.readEnum(input, FunctionArgumentType.class); if (formatString != null) { format = type.getFormatter(formatString); } }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); this.tenantId = PNameFactory.newName(WritableUtils.readString(input)); this.functionClassName = WritableUtils.readString(input); String str = WritableUtils.readString(input); this.jarPath = str.length() == 0 ? null: str; constructUDFFunction(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); String timeZoneId; String dateFormat = WritableUtils.readString(input); if (dateFormat.length() != 0) { // pre 4.3 timeZoneId = DateUtil.DEFAULT_TIME_ZONE_ID; } else { int nChildren = children.size(); if (nChildren == 1) { dateFormat = WritableUtils.readString(input); timeZoneId = WritableUtils.readString(input); } else if (nChildren == 2 || DateUtil.LOCAL_TIME_ZONE_ID.equalsIgnoreCase(getTimeZoneIdArg())) { dateFormat = getDateFormatArg(); timeZoneId = WritableUtils.readString(input); } else { dateFormat = getDateFormatArg(); timeZoneId = getTimeZoneIdArg(); } } init(dateFormat, timeZoneId); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); scale = WritableUtils.readVInt(input); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); init(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); formatString = WritableUtils.readString(input); type = WritableUtils.readEnum(input, FunctionArgumentType.class); formatter = type.getFormatter(formatString); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); this.tenantId = PNameFactory.newName(WritableUtils.readString(input)); this.functionClassName = WritableUtils.readString(input); String str = WritableUtils.readString(input); this.jarPath = str.length() == 0 ? null: str; constructUDFFunction(); }
@Override public void readFields(DataInput input) throws IOException { super.readFields(input); this.tenantId = PNameFactory.newName(WritableUtils.readString(input)); this.functionClassName = WritableUtils.readString(input); String str = WritableUtils.readString(input); this.jarPath = str.length() == 0 ? null: str; constructUDFFunction(); }