public static ParamType getSchemaFromType(final Type type) {
    return getSchemaFromType(type, JAVA_TO_ARG_TYPE);
  }
@Test
  public void shouldGetTimestampSchemaForTimestampClass() {
    assertThat(
        UdfUtil.getSchemaFromType(Timestamp.class),
        is(ParamTypes.TIMESTAMP)
    );
  }