@org.apache.thrift.annotation.Nullable

Here are the examples of the java api @org.apache.thrift.annotation.Nullable taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

319 Examples 7

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.String getRealName() {
    return this.realName;
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.String getEmail() {
    return this.email;
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.String getUsername() {
    return this.username;
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.String getMobile() {
    return this.mobile;
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.String getPreplacedword() {
    return this.preplacedword;
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case ID:
            return getId();
        case USERNAME:
            return getUsername();
        case PreplacedWORD:
            return getPreplacedword();
        case REAL_NAME:
            return getRealName();
        case MOBILE:
            return getMobile();
        case EMAIL:
            return getEmail();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : UserInfo.java
with Apache License 2.0
from ukihsoroy

@org.apache.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
    return _Fields.findByThriftId(fieldId);
}

19 Source : TUserDefinedTypeEntry.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getTypeClreplacedName() {
    return this.typeClreplacedName;
}

19 Source : TUserDefinedTypeEntry.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case TYPE_CLreplaced_NAME:
            return getTypeClreplacedName();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TUnionTypeEntry.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Map<java.lang.String, java.lang.Integer> getNameToTypePtr() {
    return this.nameToTypePtr;
}

19 Source : TUnionTypeEntry.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case NAME_TO_TYPE_PTR:
            return getNameToTypePtr();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TTypeQualifiers.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case QUALIFIERS:
            return getQualifiers();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TTypeQualifiers.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Map<java.lang.String, TTypeQualifierValue> getQualifiers() {
    return this.qualifiers;
}

19 Source : TTypeDesc.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<TTypeEntry> getTypes() {
    return this.types;
}

19 Source : TTypeDesc.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case TYPES:
            return getTypes();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TTypeDesc.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<TTypeEntry> getTypesIterator() {
    return (this.types == null) ? null : this.types.iterator();
}

19 Source : TTableSchema.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case COLUMNS:
            return getColumns();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TTableSchema.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<TColumnDesc> getColumnsIterator() {
    return (this.columns == null) ? null : this.columns.iterator();
}

19 Source : TTableSchema.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<TColumnDesc> getColumns() {
    return this.columns;
}

19 Source : TStringValue.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case VALUE:
            return getValue();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TStringValue.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getValue() {
    return this.value;
}

19 Source : TStringColumn.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> getValuesIterator() {
    return (this.values == null) ? null : this.values.iterator();
}

19 Source : TStringColumn.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.String> getValues() {
    return this.values;
}

19 Source : TStringColumn.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case VALUES:
            return getValues();
        case NULLS:
            return getNulls();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getErrorMessage() {
    return this.errorMessage;
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case STATUS_CODE:
            return getStatusCode();
        case INFO_MESSAGES:
            return getInfoMessages();
        case SQL_STATE:
            return getSqlState();
        case ERROR_CODE:
            return getErrorCode();
        case ERROR_MESSAGE:
            return getErrorMessage();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<java.lang.String> getInfoMessages() {
    return this.infoMessages;
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getSqlState() {
    return this.sqlState;
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> getInfoMessagesIterator() {
    return (this.infoMessages == null) ? null : this.infoMessages.iterator();
}

19 Source : TStatus.java
with Apache License 2.0
from timveil

/**
 * @see TStatusCode
 */
@org.apache.thrift.annotation.Nullable
public TStatusCode getStatusCode() {
    return this.statusCode;
}

19 Source : TSetClientInfoResp.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public TStatus getStatus() {
    return this.status;
}

19 Source : TSetClientInfoResp.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case STATUS:
            return getStatus();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TSetClientInfoReq.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case SESSION_HANDLE:
            return getSessionHandle();
        case CONFIGURATION:
            return getConfiguration();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TSetClientInfoReq.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Map<java.lang.String, java.lang.String> getConfiguration() {
    return this.configuration;
}

19 Source : TSetClientInfoReq.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public TSessionHandle getSessionHandle() {
    return this.sessionHandle;
}

19 Source : TSessionHandle.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public THandleIdentifier getSessionId() {
    return this.sessionId;
}

19 Source : TSessionHandle.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case SESSION_ID:
            return getSessionId();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TRowSet.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case START_ROW_OFFSET:
            return getStartRowOffset();
        case ROWS:
            return getRows();
        case COLUMNS:
            return getColumns();
        case BINARY_COLUMNS:
            return getBinaryColumns();
        case COLUMN_COUNT:
            return getColumnCount();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TRowSet.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<TColumn> getColumns() {
    return this.columns;
}

19 Source : TRowSet.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<TRow> getRows() {
    return this.rows;
}

19 Source : TRowSet.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<TColumn> getColumnsIterator() {
    return (this.columns == null) ? null : this.columns.iterator();
}

19 Source : TRowSet.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<TRow> getRowsIterator() {
    return (this.rows == null) ? null : this.rows.iterator();
}

19 Source : TRow.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case COL_VALS:
            return getColVals();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TRow.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.Iterator<TColumnValue> getColValsIterator() {
    return (this.colVals == null) ? null : this.colVals.iterator();
}

19 Source : TRow.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<TColumnValue> getColVals() {
    return this.colVals;
}

19 Source : TRenewDelegationTokenReq.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
    switch(field) {
        case SESSION_HANDLE:
            return getSessionHandle();
        case DELEGATION_TOKEN:
            return getDelegationToken();
    }
    throw new java.lang.IllegalStateException();
}

19 Source : TRenewDelegationTokenReq.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getDelegationToken() {
    return this.delegationToken;
}

19 Source : TProgressUpdateResp.java
with Apache License 2.0
from timveil

/**
 * @see TJobExecutionStatus
 */
@org.apache.thrift.annotation.Nullable
public TJobExecutionStatus getStatus() {
    return this.status;
}

19 Source : TProgressUpdateResp.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.util.List<java.util.List<java.lang.String>> getRows() {
    return this.rows;
}

19 Source : TProgressUpdateResp.java
with Apache License 2.0
from timveil

@org.apache.thrift.annotation.Nullable
public java.lang.String getFooterSummary() {
    return this.footerSummary;
}

See More Examples