Package org.apache.sqoop.schema.type

Examples of org.apache.sqoop.schema.type.Unsupported


        break;
      case TIME:
        output = new Time().setFraction(fraction);
        break;
      case UNSUPPORTED:
        output = new Unsupported().setJdbcType(jdbcType);
        break;
      default:
        // TODO(Jarcec): Throw an exception of unsupported type?
    }
View Full Code Here


      case Types.BLOB:
      case Types.LONGVARBINARY:
        return new Binary();

      default:
        return new Unsupported((long)sqlType);
    }
  }
View Full Code Here

    transferAndAssert(t);
  }

  @Test
  public void testUnsupported() {
    Schema t = new Schema("t").addColumn(new Unsupported("u", 4L));
    transferAndAssert(t);
  }
View Full Code Here

      .addColumn(new FloatingPoint("i"))
      .addColumn(new Map("j", new Text(), new Text()))
      .addColumn(new Set("k", new Text()))
      .addColumn(new Text("l"))
      .addColumn(new Time("m"))
      .addColumn(new Unsupported("u"))
    ;
    transferAndAssert(allTypes);
  }
View Full Code Here

TOP

Related Classes of org.apache.sqoop.schema.type.Unsupported

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.