KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > impl > sql > execute > rts > RealHashLeftOuterJoinStatistics


1 /*
2
3    Derby - Class org.apache.derby.impl.sql.execute.rts.RealHashLeftOuterJoinStatistics
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21
22 package org.apache.derby.impl.sql.execute.rts;
23
24 import org.apache.derby.iapi.services.i18n.MessageService;
25 import org.apache.derby.iapi.reference.SQLState;
26
27
28 /**
29   ResultSetStatistics implemenation for HashLeftOuterJoinResultSet.
30
31   @author jerry
32
33 */

34 public class RealHashLeftOuterJoinStatistics
35     extends RealNestedLoopLeftOuterJoinStatistics
36 {
37
38
39     // CONSTRUCTORS
40

41     /**
42      *
43      *
44      */

45     public RealHashLeftOuterJoinStatistics(
46                                 int numOpens,
47                                 int rowsSeen,
48                                 int rowsFiltered,
49                                 long constructorTime,
50                                 long openTime,
51                                 long nextTime,
52                                 long closeTime,
53                                 int resultSetNumber,
54                                 int rowsSeenLeft,
55                                 int rowsSeenRight,
56                                 int rowsReturned,
57                                 long restrictionTime,
58                                 double optimizerEstimatedRowCount,
59                                 double optimizerEstimatedCost,
60                                 String JavaDoc userSuppliedOptimizerOverrides,
61                                 ResultSetStatistics leftResultSetStatistics,
62                                 ResultSetStatistics rightResultSetStatistics,
63                                 int emptyRightRowsReturned
64                                 )
65     {
66         super(
67             numOpens,
68             rowsSeen,
69             rowsFiltered,
70             constructorTime,
71             openTime,
72             nextTime,
73             closeTime,
74             resultSetNumber,
75             rowsSeenLeft,
76             rowsSeenRight,
77             rowsReturned,
78             restrictionTime,
79             optimizerEstimatedRowCount,
80             optimizerEstimatedCost,
81             userSuppliedOptimizerOverrides,
82             leftResultSetStatistics,
83             rightResultSetStatistics,
84             emptyRightRowsReturned
85             );
86     }
87
88     // ResultSetStatistics methods
89

90     // Class implementation
91
protected void setNames()
92     {
93         nodeName = MessageService.getTextMessage(SQLState.RTS_HASH_LEFT_OJ);
94         resultSetName =
95             MessageService.getTextMessage(SQLState.RTS_HASH_LEFT_OJ_RS);
96     }
97 }
98
Popular Tags