Java Code Examples for com.facebook.presto.spi.type.TypeSignature#parseTypeSignature()
The following examples show how to use
com.facebook.presto.spi.type.TypeSignature#parseTypeSignature() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HivePartition.java From airpal with Apache License 2.0 | 5 votes |
@JsonCreator public HivePartition(@JsonProperty("name") String name, @JsonProperty("type") String type, @JsonProperty("values") List<Object> values) { super(name, type, new ClientTypeSignature(TypeSignature.parseTypeSignature(type))); this.values = values; }
Example 2
Source File: HiveColumn.java From airpal with Apache License 2.0 | 5 votes |
@JsonCreator public HiveColumn(@JsonProperty("name") String name, @JsonProperty("type") String type, @JsonProperty("isPartition") boolean isPartition, @JsonProperty("isNullable") boolean isNullable) { super(name, type, new ClientTypeSignature(TypeSignature.parseTypeSignature(type))); this.isPartition = isPartition; this.isNullable = isNullable; }