use of org.apache.hadoop.hbase.thrift2.generated.TFilterByOperator in project hbase by apache.
the class ThriftUtilities method getSlowLogQueryFromHBase.
public static TLogQueryFilter getSlowLogQueryFromHBase(LogQueryFilter logQueryFilter) {
TLogQueryFilter tLogQueryFilter = new TLogQueryFilter();
tLogQueryFilter.setRegionName(logQueryFilter.getRegionName());
tLogQueryFilter.setClientAddress(logQueryFilter.getClientAddress());
tLogQueryFilter.setTableName(logQueryFilter.getTableName());
tLogQueryFilter.setUserName(logQueryFilter.getUserName());
tLogQueryFilter.setLimit(logQueryFilter.getLimit());
TLogType tLogType = gettLogTypeFromHBase(logQueryFilter);
tLogQueryFilter.setLogType(tLogType);
TFilterByOperator tFilterByOperator = getTFilterByFromHBase(logQueryFilter);
tLogQueryFilter.setFilterByOperator(tFilterByOperator);
return tLogQueryFilter;
}
Aggregations