test_class.declarator: f = new SqlTypeFixture()
test_class.modifier: private final
test_class.original_string: private final SqlTypeFixture f = new SqlTypeFixture();
test_class.type: SqlTypeFixture
test_class.var_name: f
test_class.file: parser/src/test/java/com/qihoo/qsql/org/apache/calcite/sql/type/SqlTypeUtilTest.java
test_class.identifier: SqlTypeUtilTest
test_case.body: @Test
    public void testTypesIsSameFamilyWithNumberTypes() {
      assertThat(areSameFamily(ImmutableList.of(f.sqlBigInt, f.sqlBigInt)), is(true));
      assertThat(areSameFamily(ImmutableList.of(f.sqlInt, f.sqlBigInt)), is(true));
      assertThat(areSameFamily(ImmutableList.of(f.sqlFloat, f.sqlBigInt)), is(true));
      assertThat(areSameFamily(ImmutableList.of(f.sqlInt, f.sqlBigIntNullable)),
          is(true));
    }
test_case.class_method_signature: SqlTypeUtilTest.testTypesIsSameFamilyWithNumberTypes()
test_case.full_signature: @Test public void testTypesIsSameFamilyWithNumberTypes()
test_case.identifier: testTypesIsSameFamilyWithNumberTypes
test_case.invocations: assertThat areSameFamily of is assertThat areSameFamily of is assertThat areSameFamily of is assertThat areSameFamily of is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testTypesIsSameFamilyWithNumberTypes()
focal_class.file: parser/src/main/java/com/qihoo/qsql/org/apache/calcite/sql/type/SqlTypeUtil.java
focal_class.identifier: SqlTypeUtil
focal_class.class_method_signature: SqlTypeUtil.isCharTypeComparable(List<RelDataType> argTypes)
focal_class.full_signature: public static boolean isCharTypeComparable(List<RelDataType> argTypes)
focal_class.identifier: isCharTypeComparable
focal_class.modifiers: public static
focal_class.parameters: (List<RelDataType> argTypes)
focal_class.return: boolean
focal_class.signature: boolean isCharTypeComparable(List<RelDataType> argTypes)
focal_class.class_method_signature: SqlTypeUtil.isCharTypeComparable(
        SqlCallBinding binding,
        List<SqlNode> operands,
        boolean throwOnFailure)
focal_class.full_signature: public static boolean isCharTypeComparable(
        SqlCallBinding binding,
        List<SqlNode> operands,
        boolean throwOnFailure)
focal_class.identifier: isCharTypeComparable
focal_class.modifiers: public static
focal_class.parameters: (
        SqlCallBinding binding,
        List<SqlNode> operands,
        boolean throwOnFailure)
focal_class.return: boolean
focal_class.signature: boolean isCharTypeComparable(
        SqlCallBinding binding,
        List<SqlNode> operands,
        boolean throwOnFailure)
focal_class.class_method_signature: SqlTypeUtil.deriveAndCollectTypes(
        SqlValidator validator,
        SqlValidatorScope scope,
        List<SqlNode> operands)
focal_class.full_signature: public static List<RelDataType> deriveAndCollectTypes(
        SqlValidator validator,
        SqlValidatorScope scope,
        List<SqlNode> operands)
focal_class.identifier: deriveAndCollectTypes
focal_class.modifiers: public static
focal_class.parameters: (
        SqlValidator validator,
        SqlValidatorScope scope,
        List<SqlNode> operands)
focal_class.return: List<RelDataType>
focal_class.signature: List<RelDataType> deriveAndCollectTypes(
        SqlValidator validator,
        SqlValidatorScope scope,
        List<SqlNode> operands)
focal_class.class_method_signature: SqlTypeUtil.promoteToRowType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        String fieldName)
focal_class.full_signature: public static RelDataType promoteToRowType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        String fieldName)
focal_class.identifier: promoteToRowType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType type,
        String fieldName)
focal_class.return: RelDataType
focal_class.signature: RelDataType promoteToRowType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        String fieldName)
focal_class.class_method_signature: SqlTypeUtil.makeNullableIfOperandsAre(
        final SqlValidator validator,
        final SqlValidatorScope scope,
        final SqlCall call,
        RelDataType type)
focal_class.full_signature: public static RelDataType makeNullableIfOperandsAre(
        final SqlValidator validator,
        final SqlValidatorScope scope,
        final SqlCall call,
        RelDataType type)
focal_class.identifier: makeNullableIfOperandsAre
focal_class.modifiers: public static
focal_class.parameters: (
        final SqlValidator validator,
        final SqlValidatorScope scope,
        final SqlCall call,
        RelDataType type)
focal_class.return: RelDataType
focal_class.signature: RelDataType makeNullableIfOperandsAre(
        final SqlValidator validator,
        final SqlValidatorScope scope,
        final SqlCall call,
        RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.makeNullableIfOperandsAre(
        final RelDataTypeFactory typeFactory,
        final List<RelDataType> argTypes,
        RelDataType type)
focal_class.full_signature: public static RelDataType makeNullableIfOperandsAre(
        final RelDataTypeFactory typeFactory,
        final List<RelDataType> argTypes,
        RelDataType type)
focal_class.identifier: makeNullableIfOperandsAre
focal_class.modifiers: public static
focal_class.parameters: (
        final RelDataTypeFactory typeFactory,
        final List<RelDataType> argTypes,
        RelDataType type)
focal_class.return: RelDataType
focal_class.signature: RelDataType makeNullableIfOperandsAre(
        final RelDataTypeFactory typeFactory,
        final List<RelDataType> argTypes,
        RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.allNullable(List<RelDataType> types)
focal_class.full_signature: public static boolean allNullable(List<RelDataType> types)
focal_class.identifier: allNullable
focal_class.modifiers: public static
focal_class.parameters: (List<RelDataType> types)
focal_class.return: boolean
focal_class.signature: boolean allNullable(List<RelDataType> types)
focal_class.class_method_signature: SqlTypeUtil.containsNullable(List<RelDataType> types)
focal_class.full_signature: public static boolean containsNullable(List<RelDataType> types)
focal_class.identifier: containsNullable
focal_class.modifiers: public static
focal_class.parameters: (List<RelDataType> types)
focal_class.return: boolean
focal_class.signature: boolean containsNullable(List<RelDataType> types)
focal_class.class_method_signature: SqlTypeUtil.containsNullable(RelDataType type)
focal_class.full_signature: public static boolean containsNullable(RelDataType type)
focal_class.identifier: containsNullable
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean containsNullable(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isOfSameTypeName(
        SqlTypeName typeName,
        RelDataType type)
focal_class.full_signature: public static boolean isOfSameTypeName(
        SqlTypeName typeName,
        RelDataType type)
focal_class.identifier: isOfSameTypeName
focal_class.modifiers: public static
focal_class.parameters: (
        SqlTypeName typeName,
        RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isOfSameTypeName(
        SqlTypeName typeName,
        RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isOfSameTypeName(
        Collection<SqlTypeName> typeNames,
        RelDataType type)
focal_class.full_signature: public static boolean isOfSameTypeName(
        Collection<SqlTypeName> typeNames,
        RelDataType type)
focal_class.identifier: isOfSameTypeName
focal_class.modifiers: public static
focal_class.parameters: (
        Collection<SqlTypeName> typeNames,
        RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isOfSameTypeName(
        Collection<SqlTypeName> typeNames,
        RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isDatetime(RelDataType type)
focal_class.full_signature: public static boolean isDatetime(RelDataType type)
focal_class.identifier: isDatetime
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isDatetime(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isDate(RelDataType type)
focal_class.full_signature: public static boolean isDate(RelDataType type)
focal_class.identifier: isDate
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isDate(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isTimestamp(RelDataType type)
focal_class.full_signature: public static boolean isTimestamp(RelDataType type)
focal_class.identifier: isTimestamp
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isTimestamp(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isInterval(RelDataType type)
focal_class.full_signature: public static boolean isInterval(RelDataType type)
focal_class.identifier: isInterval
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isInterval(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.inCharFamily(RelDataType type)
focal_class.full_signature: public static boolean inCharFamily(RelDataType type)
focal_class.identifier: inCharFamily
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean inCharFamily(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.inCharFamily(SqlTypeName typeName)
focal_class.full_signature: public static boolean inCharFamily(SqlTypeName typeName)
focal_class.identifier: inCharFamily
focal_class.modifiers: public static
focal_class.parameters: (SqlTypeName typeName)
focal_class.return: boolean
focal_class.signature: boolean inCharFamily(SqlTypeName typeName)
focal_class.class_method_signature: SqlTypeUtil.inBooleanFamily(RelDataType type)
focal_class.full_signature: public static boolean inBooleanFamily(RelDataType type)
focal_class.identifier: inBooleanFamily
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean inBooleanFamily(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.inSameFamily(RelDataType t1, RelDataType t2)
focal_class.full_signature: public static boolean inSameFamily(RelDataType t1, RelDataType t2)
focal_class.identifier: inSameFamily
focal_class.modifiers: public static
focal_class.parameters: (RelDataType t1, RelDataType t2)
focal_class.return: boolean
focal_class.signature: boolean inSameFamily(RelDataType t1, RelDataType t2)
focal_class.class_method_signature: SqlTypeUtil.inSameFamilyOrNull(RelDataType t1, RelDataType t2)
focal_class.full_signature: public static boolean inSameFamilyOrNull(RelDataType t1, RelDataType t2)
focal_class.identifier: inSameFamilyOrNull
focal_class.modifiers: public static
focal_class.parameters: (RelDataType t1, RelDataType t2)
focal_class.return: boolean
focal_class.signature: boolean inSameFamilyOrNull(RelDataType t1, RelDataType t2)
focal_class.class_method_signature: SqlTypeUtil.inCharOrBinaryFamilies(RelDataType type)
focal_class.full_signature: public static boolean inCharOrBinaryFamilies(RelDataType type)
focal_class.identifier: inCharOrBinaryFamilies
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean inCharOrBinaryFamilies(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isLob(RelDataType type)
focal_class.full_signature: public static boolean isLob(RelDataType type)
focal_class.identifier: isLob
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isLob(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isBoundedVariableWidth(RelDataType type)
focal_class.full_signature: public static boolean isBoundedVariableWidth(RelDataType type)
focal_class.identifier: isBoundedVariableWidth
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isBoundedVariableWidth(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isIntType(RelDataType type)
focal_class.full_signature: public static boolean isIntType(RelDataType type)
focal_class.identifier: isIntType
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isIntType(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isDecimal(RelDataType type)
focal_class.full_signature: public static boolean isDecimal(RelDataType type)
focal_class.identifier: isDecimal
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isDecimal(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isDouble(RelDataType type)
focal_class.full_signature: public static boolean isDouble(RelDataType type)
focal_class.identifier: isDouble
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isDouble(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isBigint(RelDataType type)
focal_class.full_signature: public static boolean isBigint(RelDataType type)
focal_class.identifier: isBigint
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isBigint(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isExactNumeric(RelDataType type)
focal_class.full_signature: public static boolean isExactNumeric(RelDataType type)
focal_class.identifier: isExactNumeric
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isExactNumeric(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.hasScale(RelDataType type)
focal_class.full_signature: public static boolean hasScale(RelDataType type)
focal_class.identifier: hasScale
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean hasScale(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.maxValue(RelDataType type)
focal_class.full_signature: public static long maxValue(RelDataType type)
focal_class.identifier: maxValue
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: long
focal_class.signature: long maxValue(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isApproximateNumeric(RelDataType type)
focal_class.full_signature: public static boolean isApproximateNumeric(RelDataType type)
focal_class.identifier: isApproximateNumeric
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isApproximateNumeric(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isNumeric(RelDataType type)
focal_class.full_signature: public static boolean isNumeric(RelDataType type)
focal_class.identifier: isNumeric
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isNumeric(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isNull(RelDataType type)
focal_class.full_signature: public static boolean isNull(RelDataType type)
focal_class.identifier: isNull
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isNull(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.sameNamedType(RelDataType t1, RelDataType t2)
focal_class.full_signature: public static boolean sameNamedType(RelDataType t1, RelDataType t2)
focal_class.identifier: sameNamedType
focal_class.modifiers: public static
focal_class.parameters: (RelDataType t1, RelDataType t2)
focal_class.return: boolean
focal_class.signature: boolean sameNamedType(RelDataType t1, RelDataType t2)
focal_class.class_method_signature: SqlTypeUtil.getMaxByteSize(RelDataType type)
focal_class.full_signature: public static int getMaxByteSize(RelDataType type)
focal_class.identifier: getMaxByteSize
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: int
focal_class.signature: int getMaxByteSize(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.getMinValue(RelDataType type)
focal_class.full_signature: public static long getMinValue(RelDataType type)
focal_class.identifier: getMinValue
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: long
focal_class.signature: long getMinValue(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.getMaxValue(RelDataType type)
focal_class.full_signature: public static long getMaxValue(RelDataType type)
focal_class.identifier: getMaxValue
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: long
focal_class.signature: long getMaxValue(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isJavaPrimitive(RelDataType type)
focal_class.full_signature: @Deprecated // to be removed before 2.0 public static boolean isJavaPrimitive(RelDataType type)
focal_class.identifier: isJavaPrimitive
focal_class.modifiers: @Deprecated // to be removed before 2.0 public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isJavaPrimitive(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.getPrimitiveWrapperJavaClassName(RelDataType type)
focal_class.full_signature: @Deprecated // to be removed before 2.0 public static String getPrimitiveWrapperJavaClassName(RelDataType type)
focal_class.identifier: getPrimitiveWrapperJavaClassName
focal_class.modifiers: @Deprecated // to be removed before 2.0 public static
focal_class.parameters: (RelDataType type)
focal_class.return: String
focal_class.signature: String getPrimitiveWrapperJavaClassName(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.getNumericJavaClassName(RelDataType type)
focal_class.full_signature: @Deprecated // to be removed before 2.0 public static String getNumericJavaClassName(RelDataType type)
focal_class.identifier: getNumericJavaClassName
focal_class.modifiers: @Deprecated // to be removed before 2.0 public static
focal_class.parameters: (RelDataType type)
focal_class.return: String
focal_class.signature: String getNumericJavaClassName(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isAny(RelDataType t)
focal_class.full_signature: private static boolean isAny(RelDataType t)
focal_class.identifier: isAny
focal_class.modifiers: private static
focal_class.parameters: (RelDataType t)
focal_class.return: boolean
focal_class.signature: boolean isAny(RelDataType t)
focal_class.class_method_signature: SqlTypeUtil.canAssignFrom(
        RelDataType toType,
        RelDataType fromType)
focal_class.full_signature: public static boolean canAssignFrom(
        RelDataType toType,
        RelDataType fromType)
focal_class.identifier: canAssignFrom
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataType toType,
        RelDataType fromType)
focal_class.return: boolean
focal_class.signature: boolean canAssignFrom(
        RelDataType toType,
        RelDataType fromType)
focal_class.class_method_signature: SqlTypeUtil.areCharacterSetsMismatched(
        RelDataType t1,
        RelDataType t2)
focal_class.full_signature: public static boolean areCharacterSetsMismatched(
        RelDataType t1,
        RelDataType t2)
focal_class.identifier: areCharacterSetsMismatched
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataType t1,
        RelDataType t2)
focal_class.return: boolean
focal_class.signature: boolean areCharacterSetsMismatched(
        RelDataType t1,
        RelDataType t2)
focal_class.class_method_signature: SqlTypeUtil.canCastFrom(
        RelDataType toType,
        RelDataType fromType,
        boolean coerce)
focal_class.full_signature: public static boolean canCastFrom(
        RelDataType toType,
        RelDataType fromType,
        boolean coerce)
focal_class.identifier: canCastFrom
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataType toType,
        RelDataType fromType,
        boolean coerce)
focal_class.return: boolean
focal_class.signature: boolean canCastFrom(
        RelDataType toType,
        RelDataType fromType,
        boolean coerce)
focal_class.class_method_signature: SqlTypeUtil.flattenRecordType(
        RelDataTypeFactory typeFactory,
        RelDataType recordType,
        int[] flatteningMap)
focal_class.full_signature: public static RelDataType flattenRecordType(
        RelDataTypeFactory typeFactory,
        RelDataType recordType,
        int[] flatteningMap)
focal_class.identifier: flattenRecordType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType recordType,
        int[] flatteningMap)
focal_class.return: RelDataType
focal_class.signature: RelDataType flattenRecordType(
        RelDataTypeFactory typeFactory,
        RelDataType recordType,
        int[] flatteningMap)
focal_class.class_method_signature: SqlTypeUtil.needsNullIndicator(RelDataType recordType)
focal_class.full_signature: public static boolean needsNullIndicator(RelDataType recordType)
focal_class.identifier: needsNullIndicator
focal_class.modifiers: public static
focal_class.parameters: (RelDataType recordType)
focal_class.return: boolean
focal_class.signature: boolean needsNullIndicator(RelDataType recordType)
focal_class.class_method_signature: SqlTypeUtil.flattenFields(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        List<RelDataTypeField> list,
        int[] flatteningMap)
focal_class.full_signature: private static boolean flattenFields(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        List<RelDataTypeField> list,
        int[] flatteningMap)
focal_class.identifier: flattenFields
focal_class.modifiers: private static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType type,
        List<RelDataTypeField> list,
        int[] flatteningMap)
focal_class.return: boolean
focal_class.signature: boolean flattenFields(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        List<RelDataTypeField> list,
        int[] flatteningMap)
focal_class.class_method_signature: SqlTypeUtil.convertTypeToSpec(RelDataType type,
        String charSetName, int maxPrecision)
focal_class.full_signature: public static SqlDataTypeSpec convertTypeToSpec(RelDataType type,
        String charSetName, int maxPrecision)
focal_class.identifier: convertTypeToSpec
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type,
        String charSetName, int maxPrecision)
focal_class.return: SqlDataTypeSpec
focal_class.signature: SqlDataTypeSpec convertTypeToSpec(RelDataType type,
        String charSetName, int maxPrecision)
focal_class.class_method_signature: SqlTypeUtil.convertTypeToSpec(RelDataType type)
focal_class.full_signature: public static SqlDataTypeSpec convertTypeToSpec(RelDataType type)
focal_class.identifier: convertTypeToSpec
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: SqlDataTypeSpec
focal_class.signature: SqlDataTypeSpec convertTypeToSpec(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.createMultisetType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.full_signature: public static RelDataType createMultisetType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.identifier: createMultisetType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.return: RelDataType
focal_class.signature: RelDataType createMultisetType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.class_method_signature: SqlTypeUtil.createArrayType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.full_signature: public static RelDataType createArrayType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.identifier: createArrayType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.return: RelDataType
focal_class.signature: RelDataType createArrayType(
        RelDataTypeFactory typeFactory,
        RelDataType type,
        boolean nullable)
focal_class.class_method_signature: SqlTypeUtil.createMapType(
        RelDataTypeFactory typeFactory,
        RelDataType keyType,
        RelDataType valueType,
        boolean nullable)
focal_class.full_signature: public static RelDataType createMapType(
        RelDataTypeFactory typeFactory,
        RelDataType keyType,
        RelDataType valueType,
        boolean nullable)
focal_class.identifier: createMapType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory,
        RelDataType keyType,
        RelDataType valueType,
        boolean nullable)
focal_class.return: RelDataType
focal_class.signature: RelDataType createMapType(
        RelDataTypeFactory typeFactory,
        RelDataType keyType,
        RelDataType valueType,
        boolean nullable)
focal_class.class_method_signature: SqlTypeUtil.addCharsetAndCollation(
        RelDataType type,
        RelDataTypeFactory typeFactory)
focal_class.full_signature: public static RelDataType addCharsetAndCollation(
        RelDataType type,
        RelDataTypeFactory typeFactory)
focal_class.identifier: addCharsetAndCollation
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataType type,
        RelDataTypeFactory typeFactory)
focal_class.return: RelDataType
focal_class.signature: RelDataType addCharsetAndCollation(
        RelDataType type,
        RelDataTypeFactory typeFactory)
focal_class.class_method_signature: SqlTypeUtil.equalSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2)
focal_class.full_signature: public static boolean equalSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2)
focal_class.identifier: equalSansNullability
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2)
focal_class.return: boolean
focal_class.signature: boolean equalSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2)
focal_class.class_method_signature: SqlTypeUtil.equalAsStructSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2,
        SqlNameMatcher nameMatcher)
focal_class.full_signature: public static boolean equalAsStructSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2,
        SqlNameMatcher nameMatcher)
focal_class.identifier: equalAsStructSansNullability
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2,
        SqlNameMatcher nameMatcher)
focal_class.return: boolean
focal_class.signature: boolean equalAsStructSansNullability(
        RelDataTypeFactory factory,
        RelDataType type1,
        RelDataType type2,
        SqlNameMatcher nameMatcher)
focal_class.class_method_signature: SqlTypeUtil.findField(RelDataType type, String fieldName)
focal_class.full_signature: public static int findField(RelDataType type, String fieldName)
focal_class.identifier: findField
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type, String fieldName)
focal_class.return: int
focal_class.signature: int findField(RelDataType type, String fieldName)
focal_class.class_method_signature: SqlTypeUtil.projectTypes(final RelDataType rowType,
        final List<? extends Number> requiredFields)
focal_class.full_signature: public static List<RelDataType> projectTypes(final RelDataType rowType,
        final List<? extends Number> requiredFields)
focal_class.identifier: projectTypes
focal_class.modifiers: public static
focal_class.parameters: (final RelDataType rowType,
        final List<? extends Number> requiredFields)
focal_class.return: List<RelDataType>
focal_class.signature: List<RelDataType> projectTypes(final RelDataType rowType,
        final List<? extends Number> requiredFields)
focal_class.class_method_signature: SqlTypeUtil.createEmptyStructType(
        RelDataTypeFactory typeFactory)
focal_class.full_signature: public static RelDataType createEmptyStructType(
        RelDataTypeFactory typeFactory)
focal_class.identifier: createEmptyStructType
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory)
focal_class.return: RelDataType
focal_class.signature: RelDataType createEmptyStructType(
        RelDataTypeFactory typeFactory)
focal_class.class_method_signature: SqlTypeUtil.isFlat(RelDataType type)
focal_class.full_signature: public static boolean isFlat(RelDataType type)
focal_class.identifier: isFlat
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isFlat(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isComparable(RelDataType type1, RelDataType type2)
focal_class.full_signature: public static boolean isComparable(RelDataType type1, RelDataType type2)
focal_class.identifier: isComparable
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type1, RelDataType type2)
focal_class.return: boolean
focal_class.signature: boolean isComparable(RelDataType type1, RelDataType type2)
focal_class.class_method_signature: SqlTypeUtil.leastRestrictiveForComparison(
        RelDataTypeFactory typeFactory, RelDataType type1, RelDataType type2)
focal_class.full_signature: public static RelDataType leastRestrictiveForComparison(
        RelDataTypeFactory typeFactory, RelDataType type1, RelDataType type2)
focal_class.identifier: leastRestrictiveForComparison
focal_class.modifiers: public static
focal_class.parameters: (
        RelDataTypeFactory typeFactory, RelDataType type1, RelDataType type2)
focal_class.return: RelDataType
focal_class.signature: RelDataType leastRestrictiveForComparison(
        RelDataTypeFactory typeFactory, RelDataType type1, RelDataType type2)
focal_class.class_method_signature: SqlTypeUtil.family(RelDataType type)
focal_class.full_signature: protected static RelDataTypeFamily family(RelDataType type)
focal_class.identifier: family
focal_class.modifiers: protected static
focal_class.parameters: (RelDataType type)
focal_class.return: RelDataTypeFamily
focal_class.signature: RelDataTypeFamily family(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.areSameFamily(Iterable<RelDataType> types)
focal_class.full_signature: public static boolean areSameFamily(Iterable<RelDataType> types)
focal_class.identifier: areSameFamily
focal_class.modifiers: public static
focal_class.parameters: (Iterable<RelDataType> types)
focal_class.return: boolean
focal_class.signature: boolean areSameFamily(Iterable<RelDataType> types)
focal_class.class_method_signature: SqlTypeUtil.isSameFamily(RelDataType type1, RelDataType type2)
focal_class.full_signature: private static boolean isSameFamily(RelDataType type1, RelDataType type2)
focal_class.identifier: isSameFamily
focal_class.modifiers: private static
focal_class.parameters: (RelDataType type1, RelDataType type2)
focal_class.return: boolean
focal_class.signature: boolean isSameFamily(RelDataType type1, RelDataType type2)
focal_class.class_method_signature: SqlTypeUtil.canConvertStringInCompare(RelDataTypeFamily family)
focal_class.full_signature: private static boolean canConvertStringInCompare(RelDataTypeFamily family)
focal_class.identifier: canConvertStringInCompare
focal_class.modifiers: private static
focal_class.parameters: (RelDataTypeFamily family)
focal_class.return: boolean
focal_class.signature: boolean canConvertStringInCompare(RelDataTypeFamily family)
focal_class.class_method_signature: SqlTypeUtil.isUnicode(RelDataType type)
focal_class.full_signature: public static boolean isUnicode(RelDataType type)
focal_class.identifier: isUnicode
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isUnicode(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.maxPrecision(int p0, int p1)
focal_class.full_signature: public static int maxPrecision(int p0, int p1)
focal_class.identifier: maxPrecision
focal_class.modifiers: public static
focal_class.parameters: (int p0, int p1)
focal_class.return: int
focal_class.signature: int maxPrecision(int p0, int p1)
focal_class.class_method_signature: SqlTypeUtil.comparePrecision(int p0, int p1)
focal_class.full_signature: public static int comparePrecision(int p0, int p1)
focal_class.identifier: comparePrecision
focal_class.modifiers: public static
focal_class.parameters: (int p0, int p1)
focal_class.return: int
focal_class.signature: int comparePrecision(int p0, int p1)
focal_class.class_method_signature: SqlTypeUtil.isArray(RelDataType type)
focal_class.full_signature: public static boolean isArray(RelDataType type)
focal_class.identifier: isArray
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isArray(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isMap(RelDataType type)
focal_class.full_signature: public static boolean isMap(RelDataType type)
focal_class.identifier: isMap
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isMap(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isCharacter(RelDataType type)
focal_class.full_signature: public static boolean isCharacter(RelDataType type)
focal_class.identifier: isCharacter
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isCharacter(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.hasCharactor(RelDataType type)
focal_class.full_signature: public static boolean hasCharactor(RelDataType type)
focal_class.identifier: hasCharactor
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean hasCharactor(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isString(RelDataType type)
focal_class.full_signature: public static boolean isString(RelDataType type)
focal_class.identifier: isString
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isString(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isBoolean(RelDataType type)
focal_class.full_signature: public static boolean isBoolean(RelDataType type)
focal_class.identifier: isBoolean
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isBoolean(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isBinary(RelDataType type)
focal_class.full_signature: public static boolean isBinary(RelDataType type)
focal_class.identifier: isBinary
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isBinary(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.isAtomic(RelDataType type)
focal_class.full_signature: public static boolean isAtomic(RelDataType type)
focal_class.identifier: isAtomic
focal_class.modifiers: public static
focal_class.parameters: (RelDataType type)
focal_class.return: boolean
focal_class.signature: boolean isAtomic(RelDataType type)
focal_class.class_method_signature: SqlTypeUtil.getMaxPrecisionScaleDecimal(RelDataTypeFactory factory)
focal_class.full_signature: public static RelDataType getMaxPrecisionScaleDecimal(RelDataTypeFactory factory)
focal_class.identifier: getMaxPrecisionScaleDecimal
focal_class.modifiers: public static
focal_class.parameters: (RelDataTypeFactory factory)
focal_class.return: RelDataType
focal_class.signature: RelDataType getMaxPrecisionScaleDecimal(RelDataTypeFactory factory)
focal_method.body: public static boolean areSameFamily(Iterable<RelDataType> types) {
      final List<RelDataType> typeList = ImmutableList.copyOf(types);
      if (Sets.newHashSet(RexUtil.families(typeList)).size() < 2) {
        return true;
      }
      for (Pair<RelDataType, RelDataType> adjacent : Pair.adjacents(typeList)) {
        if (!isSameFamily(adjacent.left, adjacent.right)) {
          return false;
        }
      }
      return true;
    }
focal_method.class_method_signature: SqlTypeUtil.areSameFamily(Iterable<RelDataType> types)
focal_method.full_signature: public static boolean areSameFamily(Iterable<RelDataType> types)
focal_method.identifier: areSameFamily
focal_method.invocations: copyOf size newHashSet families adjacents isSameFamily
focal_method.modifiers: public static
focal_method.parameters: (Iterable<RelDataType> types)
focal_method.return: boolean
focal_method.signature: boolean areSameFamily(Iterable<RelDataType> types)