mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
Remove // TODO Auto-generated method stub
This commit is contained in:
parent
55c1d2b159
commit
401fcfaa93
@ -1,39 +1,39 @@
|
||||
/*
|
||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.chatopera.cc.config;
|
||||
|
||||
import com.lmax.disruptor.ExceptionHandler;
|
||||
|
||||
public class CSKeFuExceptionHandler implements ExceptionHandler<Object>{
|
||||
|
||||
@Override
|
||||
public void handleEventException(Throwable ex, long arg1, Object arg2) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleOnShutdownException(Throwable ex) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleOnStartException(Throwable ex) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.chatopera.cc.config;
|
||||
|
||||
import com.lmax.disruptor.ExceptionHandler;
|
||||
|
||||
public class CSKeFuExceptionHandler implements ExceptionHandler<Object>{
|
||||
|
||||
@Override
|
||||
public void handleEventException(Throwable ex, long arg1, Object arg2) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleOnShutdownException(Throwable ex) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handleOnStartException(Throwable ex) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,227 +1,227 @@
|
||||
/*
|
||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.chatopera.cc.util.bi;
|
||||
|
||||
import com.chatopera.cc.util.bi.model.Level;
|
||||
import com.chatopera.cc.util.bi.model.RequestData;
|
||||
import com.chatopera.cc.util.bi.model.ValueData;
|
||||
import org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
public class CubeReportData implements ReportData, Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 3987533346101055742L;
|
||||
private Exception exception ;
|
||||
private Level row ;
|
||||
private Level col ;
|
||||
private int pageSize ;
|
||||
private int page ;
|
||||
private long numFound = 0 ;
|
||||
private RequestData reqdata;
|
||||
private QueryText queryText ;
|
||||
private Map<String , Object> options ;
|
||||
private long queryTime ;
|
||||
private long total ;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private List<List<ValueData>> data ;
|
||||
private String viewData ;
|
||||
|
||||
public void setRow(Level row) {
|
||||
this.row = row;
|
||||
}
|
||||
|
||||
public void setCol(Level col) {
|
||||
this.col = col;
|
||||
}
|
||||
|
||||
public void setData(List<List<ValueData>> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Level getRow() {
|
||||
return row;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Level getCol() {
|
||||
return col;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<List<ValueData>> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public String getViewData() {
|
||||
return viewData;
|
||||
}
|
||||
|
||||
public void setViewData(String viewData) {
|
||||
this.viewData = viewData;
|
||||
}
|
||||
public ReportData clone(){
|
||||
try {
|
||||
return (ReportData) super.clone() ;
|
||||
} catch (CloneNotSupportedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null ;
|
||||
}
|
||||
|
||||
public long getNumFound() {
|
||||
return numFound;
|
||||
}
|
||||
|
||||
public void setNumFound(long l) {
|
||||
this.numFound = l;
|
||||
}
|
||||
|
||||
public int getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(int pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exchangeColRow() {
|
||||
Level temp = this.col ;
|
||||
this.col = this.row ;
|
||||
this.row = temp ;
|
||||
int colspan = this.col.getColspan() ;
|
||||
this.col.setColspan(this.col.getRowspan()) ;
|
||||
this.col.setRowspan(colspan) ;
|
||||
|
||||
colspan = this.row.getColspan() ;
|
||||
this.row.setColspan(this.row.getRowspan()) ;
|
||||
this.row.setRowspan(colspan) ;
|
||||
|
||||
List<List<ValueData>> tempList = new ArrayList<List<ValueData>>();
|
||||
for(int i=0 ; i<data.size() ; i++){
|
||||
for(int j=0 ; j<data.get(i).size() ; j++){
|
||||
if(tempList.size()<=j){
|
||||
tempList.add(new ArrayList<ValueData>()) ;
|
||||
}
|
||||
if(tempList.get(j)!=null){
|
||||
tempList.get(j).add(data.get(i).get(j)) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.data.clear();
|
||||
this.data = tempList ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void merge(ReportData data) {
|
||||
this.col.getChilderen().addAll(data.getCol().getChilderen()) ;
|
||||
if(this.row!=null && this.row.getTitle()!=null && data.getRow()!=null && data.getRow().getTitle()!=null){
|
||||
List<?> titles = this.row.getTitle().get(this.row.getTitle().size()-1) ;
|
||||
List<?> otitles = data.getRow().getTitle().get(data.getRow().getTitle().size()-1) ;
|
||||
for(int i=0 ; i<titles.size() ; i++){
|
||||
for(int j=0 ; j<otitles.size() ; j++){
|
||||
if(titles.get(i).toString().equals(otitles.get(j).toString())){
|
||||
this.data.get(i).addAll(data.getData().get(j)) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.col.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getDate() {
|
||||
// TODO Auto-generated method stub
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public Exception getException() {
|
||||
return exception;
|
||||
}
|
||||
|
||||
public void setException(Exception exception) {
|
||||
this.exception = exception;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRequestData(RequestData data) {
|
||||
reqdata = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RequestData getRequestData() {
|
||||
return reqdata;
|
||||
}
|
||||
|
||||
public int getPage() {
|
||||
return page;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public QueryText getQueryText() {
|
||||
return queryText;
|
||||
}
|
||||
|
||||
public void setQueryText(QueryText queryText) {
|
||||
this.queryText = queryText;
|
||||
}
|
||||
|
||||
public Map<String, Object> getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public void setOptions(Map<String, Object> options) {
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
public long getQueryTime() {
|
||||
return queryTime;
|
||||
}
|
||||
|
||||
public void setQueryTime(long queryTime) {
|
||||
this.queryTime = queryTime;
|
||||
}
|
||||
|
||||
public long getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(long total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDate(Date createtime) {
|
||||
// TODO Auto-generated method stub
|
||||
this.createTime = createtime;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Copyright (C) 2017 优客服-多渠道客服系统
|
||||
* Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.chatopera.cc.util.bi;
|
||||
|
||||
import com.chatopera.cc.util.bi.model.Level;
|
||||
import com.chatopera.cc.util.bi.model.RequestData;
|
||||
import com.chatopera.cc.util.bi.model.ValueData;
|
||||
import org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode.QueryText;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
public class CubeReportData implements ReportData, Cloneable {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 3987533346101055742L;
|
||||
private Exception exception ;
|
||||
private Level row ;
|
||||
private Level col ;
|
||||
private int pageSize ;
|
||||
private int page ;
|
||||
private long numFound = 0 ;
|
||||
private RequestData reqdata;
|
||||
private QueryText queryText ;
|
||||
private Map<String , Object> options ;
|
||||
private long queryTime ;
|
||||
private long total ;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private List<List<ValueData>> data ;
|
||||
private String viewData ;
|
||||
|
||||
public void setRow(Level row) {
|
||||
this.row = row;
|
||||
}
|
||||
|
||||
public void setCol(Level col) {
|
||||
this.col = col;
|
||||
}
|
||||
|
||||
public void setData(List<List<ValueData>> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Level getRow() {
|
||||
return row;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Level getCol() {
|
||||
return col;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<List<ValueData>> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public String getViewData() {
|
||||
return viewData;
|
||||
}
|
||||
|
||||
public void setViewData(String viewData) {
|
||||
this.viewData = viewData;
|
||||
}
|
||||
public ReportData clone(){
|
||||
try {
|
||||
return (ReportData) super.clone() ;
|
||||
} catch (CloneNotSupportedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
return null ;
|
||||
}
|
||||
|
||||
public long getNumFound() {
|
||||
return numFound;
|
||||
}
|
||||
|
||||
public void setNumFound(long l) {
|
||||
this.numFound = l;
|
||||
}
|
||||
|
||||
public int getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
|
||||
public void setPageSize(int pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exchangeColRow() {
|
||||
Level temp = this.col;
|
||||
this.col = this.row;
|
||||
this.row = temp;
|
||||
int colspan = this.col.getColspan();
|
||||
this.col.setColspan(this.col.getRowspan());
|
||||
this.col.setRowspan(colspan);
|
||||
|
||||
colspan = this.row.getColspan();
|
||||
this.row.setColspan(this.row.getRowspan());
|
||||
this.row.setRowspan(colspan) ;
|
||||
|
||||
List<List<ValueData>> tempList = new ArrayList<List<ValueData>>();
|
||||
for(int i=0 ; i<data.size() ; i++){
|
||||
for(int j=0 ; j<data.get(i).size() ; j++){
|
||||
if(tempList.size()<=j){
|
||||
tempList.add(new ArrayList<ValueData>()) ;
|
||||
}
|
||||
if(tempList.get(j)!=null){
|
||||
tempList.get(j).add(data.get(i).get(j)) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.data.clear();
|
||||
this.data = tempList ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void merge(ReportData data) {
|
||||
this.col.getChilderen().addAll(data.getCol().getChilderen()) ;
|
||||
if(this.row!=null && this.row.getTitle()!=null && data.getRow()!=null && data.getRow().getTitle()!=null){
|
||||
List<?> titles = this.row.getTitle().get(this.row.getTitle().size()-1) ;
|
||||
List<?> otitles = data.getRow().getTitle().get(data.getRow().getTitle().size()-1) ;
|
||||
for(int i=0 ; i<titles.size() ; i++){
|
||||
for(int j=0 ; j<otitles.size() ; j++){
|
||||
if(titles.get(i).toString().equals(otitles.get(j).toString())){
|
||||
this.data.get(i).addAll(data.getData().get(j)) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.col.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getDate() {
|
||||
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public Exception getException() {
|
||||
return exception;
|
||||
}
|
||||
|
||||
public void setException(Exception exception) {
|
||||
this.exception = exception;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRequestData(RequestData data) {
|
||||
reqdata = data;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RequestData getRequestData() {
|
||||
return reqdata;
|
||||
}
|
||||
|
||||
public int getPage() {
|
||||
return page;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public QueryText getQueryText() {
|
||||
return queryText;
|
||||
}
|
||||
|
||||
public void setQueryText(QueryText queryText) {
|
||||
this.queryText = queryText;
|
||||
}
|
||||
|
||||
public Map<String, Object> getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public void setOptions(Map<String, Object> options) {
|
||||
this.options = options;
|
||||
}
|
||||
|
||||
public long getQueryTime() {
|
||||
return queryTime;
|
||||
}
|
||||
|
||||
public void setQueryTime(long queryTime) {
|
||||
this.queryTime = queryTime;
|
||||
}
|
||||
|
||||
public long getTotal() {
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(long total) {
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDate(Date createtime) {
|
||||
|
||||
this.createTime = createtime;
|
||||
}
|
||||
}
|
||||
|
@ -528,7 +528,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getHeadTitle() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.headTitle;
|
||||
}
|
||||
|
||||
@ -537,7 +537,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.startTime;
|
||||
}
|
||||
|
||||
@ -546,7 +546,7 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.endTime;
|
||||
}
|
||||
|
||||
@ -555,12 +555,12 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public void createSheet(String sheetName) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.sheet = wb.createSheet(sheetName);
|
||||
}
|
||||
|
||||
public int getRowNum() throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return rowNum;
|
||||
}
|
||||
|
||||
@ -578,17 +578,17 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public void setOut(OutputStream out) throws Exception {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.out = out;
|
||||
}
|
||||
|
||||
public int getPage() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.page;
|
||||
}
|
||||
|
||||
public void setPage(int page) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
@ -610,12 +610,12 @@ public class UKExcelUtil {
|
||||
}
|
||||
|
||||
public ReportData getReportData() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return this.reportData;
|
||||
}
|
||||
|
||||
public void setReportData(ReportData reportData) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
this.reportData = reportData;
|
||||
}
|
||||
|
||||
|
@ -9,10 +9,16 @@
|
||||
|
||||
package mondrian.calc.impl;
|
||||
|
||||
import mondrian.calc.*;
|
||||
import mondrian.olap.*;
|
||||
import mondrian.calc.TupleCursor;
|
||||
import mondrian.calc.TupleIterator;
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Evaluator;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link TupleList} that stores tuples end-to-end in an
|
||||
@ -254,14 +260,14 @@ public class ArrayTupleList extends AbstractEndToEndTupleList
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link mondrian.calc.TupleList} based on a list of
|
||||
@ -83,7 +86,7 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
.get(0);
|
||||
}
|
||||
return subList.set(column, element);
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -125,13 +128,13 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
|
||||
public Member set(int column, Member element) {
|
||||
return list.get(index).set(index, element);
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public List<Member> set(int index, List<Member> element) {
|
||||
return list.set(index, element);
|
||||
};
|
||||
}
|
||||
|
||||
public int size() {
|
||||
return list.size();
|
||||
@ -178,17 +181,17 @@ public class DelegatingTupleList extends AbstractTupleList
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
}
|
||||
@Override
|
||||
public int getCount() {
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
// End DelegatingTupleList.java
|
||||
|
@ -14,7 +14,10 @@ import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Util;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.AbstractList;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Implementation of {@link mondrian.calc.TupleList} that stores tuples
|
||||
@ -143,19 +146,19 @@ public class ListTupleList extends AbstractEndToEndTupleList
|
||||
return new AbstractTupleListIterator();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
}
|
||||
@Override
|
||||
public int getCount() {
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// End ListTupleList.java
|
||||
|
@ -9,7 +9,9 @@
|
||||
|
||||
package mondrian.calc.impl;
|
||||
|
||||
import mondrian.calc.*;
|
||||
import mondrian.calc.TupleCursor;
|
||||
import mondrian.calc.TupleIterator;
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.Evaluator;
|
||||
import mondrian.olap.Member;
|
||||
|
||||
@ -259,14 +261,14 @@ public class UnaryTupleList
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
// TODO Auto-generated method stub
|
||||
return count;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCount(int count) {
|
||||
// TODO Auto-generated method stub
|
||||
this.count = count;
|
||||
|
||||
this.count = count;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,9 @@
|
||||
package mondrian.rolap;
|
||||
|
||||
import mondrian.calc.TupleList;
|
||||
import mondrian.olap.*;
|
||||
import mondrian.olap.Axis;
|
||||
import mondrian.olap.Member;
|
||||
import mondrian.olap.Position;
|
||||
|
||||
import java.util.AbstractList;
|
||||
import java.util.List;
|
||||
@ -112,8 +114,8 @@ public class RolapAxis implements Axis {
|
||||
|
||||
@Override
|
||||
public int getDataSize() {
|
||||
// TODO Auto-generated method stub
|
||||
return list.getCount();
|
||||
|
||||
return list.getCount();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user