case DATE: { final String stringValue = DataTypeUtils.toString(coercedValue, () -> DataTypeUtils.getDateFormat(this.dateFormat)); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else { if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else { if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else {
final boolean lhsLongCompatible = DataTypeUtils.isLongTypeCompatible(value); final boolean lhsDoubleCompatible; if (lhsLongCompatible) { final boolean rhsLongCompatible = DataTypeUtils.isLongTypeCompatible(rhsValue); final boolean rhsDoubleCompatible; if (rhsLongCompatible) {
case DATE: { final String stringValue = DataTypeUtils.toString(coercedValue, () -> DataTypeUtils.getDateFormat(RecordFieldType.DATE.getDefaultFormat())); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { LocalDate localDate = getLocalDateFromEpochTime(fieldName, coercedValue); addFieldToSolrDocument(inputDocument,fieldName,localDate.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)+'Z',fieldsToIndex); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { LocalDateTime localDateTime = getLocalDateTimeFromEpochTime(fieldName, coercedValue); addFieldToSolrDocument(inputDocument,fieldName,localDateTime.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)+'Z',fieldsToIndex);
case DATE: { final String stringValue = DataTypeUtils.toString(coercedValue, LAZY_DATE_FORMAT); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else { if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else { if (DataTypeUtils.isLongTypeCompatible(stringValue)) { generator.writeNumber(DataTypeUtils.toLong(coercedValue, fieldName)); } else {
return isIntegerTypeCompatible(value); case LONG: return isLongTypeCompatible(value); case RECORD: { if (value == null) {
final boolean lhsLongCompatible = DataTypeUtils.isLongTypeCompatible(value); final boolean lhsDoubleCompatible; if (lhsLongCompatible) { final boolean rhsLongCompatible = DataTypeUtils.isLongTypeCompatible(rhsValue); final boolean rhsDoubleCompatible; if (rhsLongCompatible) {
case DATE: { final String stringValue = DataTypeUtils.toString(coercedValue, () -> DataTypeUtils.getDateFormat(RecordFieldType.DATE.getDefaultFormat())); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { LocalDate localDate = getLocalDateFromEpochTime(fieldName, coercedValue); addFieldToSolrDocument(inputDocument,fieldName,localDate.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)+'Z',fieldsToIndex); if (DataTypeUtils.isLongTypeCompatible(stringValue)) { LocalDateTime localDateTime = getLocalDateTimeFromEpochTime(fieldName, coercedValue); addFieldToSolrDocument(inputDocument,fieldName,localDateTime.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)+'Z',fieldsToIndex);
return isIntegerTypeCompatible(value); case LONG: return isLongTypeCompatible(value); case RECORD: { if (value == null) {