APISonar


com.dremio.common.types.TypeProtos.MinorType.DATE

> com > dremio > common > types > TypeProtos > MinorType > DATE
com APIs dremio APIs common APIs types APIs TypeProtos APIs MinorType APIs DATE APIs

Example 1
public static TypeProtos.MinorType getMinorTypeFromArrowMinorType(MinorType arrowMinorType) {
    switch (arrowMinorType) {
    case TIMESTAMPMILLI:
      return TypeProtos.MinorType.TIMESTAMP;
    case TIMESTAMPMILLITZ:
      return TypeProtos.MinorType.TIMESTAMPTZ;
    case TIMEMILLI:
      return TypeProtos.MinorType.TIME;
    case DATEMILLI:
      return TypeProtos.MinorType.DATE;
    default:
      return TypeProtos.MinorType.valueOf(arrowMinorType.name());
    }
  }