public Object getFieldValue(_Fields field) {
    switch (field) {
      case UUID_DADO_SERIALIZADO:
        return getUuidDadoSerializado();

      case TIPO_DADO_SERIALIZADO:
        return Long.valueOf(getTipoDadoSerializado());

      case CNES_DADO_SERIALIZADO:
        return getCnesDadoSerializado();

      case COD_IBGE:
        return getCodIbge();

      case INE_DADO_SERIALIZADO:
        return getIneDadoSerializado();

      case NUM_LOTE:
        return Long.valueOf(getNumLote());

      case DADO_SERIALIZADO:
        return getDadoSerializado();

      case REMETENTE:
        return getRemetente();

      case ORIGINADORA:
        return getOriginadora();

      case VERSAO:
        return getVersao();
    }
    throw new IllegalStateException();
  }
예제 #2
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case ID:
        return Long.valueOf(getId());

      case ADDRESS:
        return getAddress();

      case LAST_CONTACT_SEC:
        return Integer.valueOf(getLastContactSec());

      case STATE:
        return getState();

      case CAPACITY_BYTES:
        return Long.valueOf(getCapacityBytes());

      case USED_BYTES:
        return Long.valueOf(getUsedBytes());

      case START_TIME_MS:
        return Long.valueOf(getStartTimeMs());
    }
    throw new IllegalStateException();
  }
예제 #3
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case BLOCK_ID:
        return Long.valueOf(getBlockId());

      case LENGTH:
        return Long.valueOf(getLength());

      case LOCATIONS:
        return getLocations();
    }
    throw new IllegalStateException();
  }
예제 #4
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case STRING_VAL:
        return getString_val();

      case BOOL_VAL:
        return Boolean.valueOf(isBool_val());

      case I32_VAL:
        return Integer.valueOf(getI32_val());

      case I64_VAL:
        return Long.valueOf(getI64_val());

      case DOUBLE_VAL:
        return Double.valueOf(getDouble_val());

      case NULL_VAL:
        return Boolean.valueOf(isNull_val());

      case REF_VAL:
        return Integer.valueOf(getRef_val());

      case ARRAY_VAL:
        return getArray_val();
    }
    throw new IllegalStateException();
  }
예제 #5
0
파일: Advert.java 프로젝트: kbence/booktion
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case ID:
        return Integer.valueOf(getId());

      case ISSUER:
        return getIssuer();

      case BOOK:
        return getBook();

      case ADVERT_TYPE:
        return getAdvertType();

      case EXPIRES:
        return Long.valueOf(getExpires());

      case PRICE:
        return Double.valueOf(getPrice());

      case WINNER:
        return Integer.valueOf(getWinner());
    }
    throw new IllegalStateException();
  }
예제 #6
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case LOW_VALUE:
        return getLowValue();

      case HIGH_VALUE:
        return getHighValue();

      case NUM_NULLS:
        return Long.valueOf(getNumNulls());

      case NUM_DVS:
        return Long.valueOf(getNumDVs());
    }
    throw new IllegalStateException();
  }
예제 #7
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case FILE_ID:
        return Long.valueOf(getFileId());

      case BLOCK_IDS:
        return getBlockIds();
    }
    throw new IllegalStateException();
  }
예제 #8
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case NAME:
        return getName();

      case ID:
        return Long.valueOf(getId());
    }
    throw new IllegalStateException();
  }
예제 #9
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case SERVER:
        return getServer();

      case LAST_STATUS:
        return Long.valueOf(getLastStatus());

      case STATUS:
        return getStatus();
    }
    throw new IllegalStateException();
  }
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case KEY:
        return getKey();

      case UNIX_TIME:
        return Long.valueOf(getUnixTime());

      case ALLOWABLE_TIME_DIFF:
        return Long.valueOf(getAllowable_time_diff());

      case VALUE:
        return Long.valueOf(getValue());

      case MIN_RATE:
        return Long.valueOf(getMin_rate());

      case MAX_RATE:
        return Long.valueOf(getMax_rate());
    }
    throw new IllegalStateException();
  }
예제 #11
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case OPERATION_HANDLE:
        return getOperationHandle();

      case ORIENTATION:
        return getOrientation();

      case MAX_ROWS:
        return Long.valueOf(getMaxRows());
    }
    throw new IllegalStateException();
  }
예제 #12
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case PINNED:
        return Boolean.valueOf(isPinned());

      case TTL:
        return Long.valueOf(getTtl());

      case PERSISTED:
        return Boolean.valueOf(isPersisted());
    }
    throw new IllegalStateException();
  }
예제 #13
0
파일: TRowSet.java 프로젝트: nssalian/hive
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case START_ROW_OFFSET:
        return Long.valueOf(getStartRowOffset());

      case ROWS:
        return getRows();

      case COLUMNS:
        return getColumns();
    }
    throw new IllegalStateException();
  }
예제 #14
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case ROW:
        return getRow();

      case COL_FAMILY:
        return getColFamily();

      case COL_QUALIFIER:
        return getColQualifier();

      case COL_VISIBILITY:
        return getColVisibility();

      case TIMESTAMP:
        return Long.valueOf(getTimestamp());
    }
    throw new IllegalStateException();
  }
예제 #15
0
  public Object getFieldValue(_Fields field) {
    switch (field) {
      case ERROR_ID:
        return getErrorId();

      case CREATION_TIME:
        return Long.valueOf(getCreationTime());

      case ACTUAL_ERROR_MESSAGE:
        return getActualErrorMessage();

      case USER_FRIENDLY_MESSAGE:
        return getUserFriendlyMessage();

      case TRANSIENT_OR_PERSISTENT:
        return Boolean.valueOf(isTransientOrPersistent());

      case ROOT_CAUSE_ERROR_ID_LIST:
        return getRootCauseErrorIdList();
    }
    throw new IllegalStateException();
  }