OmniSciDB
a5dc49c757
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HeavyDBUser.java
Go to the documentation of this file.
1
/*
2
* Copyright 2022 HEAVY.AI, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
package
com.mapd.calcite.parser;
18
19
import
org.apache.calcite.rel.rules.Restriction
;
20
21
import
java.util.List;
22
23
public
class
HeavyDBUser
{
24
private
final
String
user
;
25
private
final
String
catalog
;
26
private
final
int
port
;
27
private
final
String
session
;
28
private
final
List<Restriction>
restrictions
;
29
30
public
HeavyDBUser
(String
user
,
31
String
session
,
32
String
catalog
,
33
int
port
,
34
List<Restriction>
restrictions
) {
35
this.user =
user
;
36
this.catalog =
catalog
;
37
this.port =
port
;
38
this.session =
session
;
39
this.restrictions =
restrictions
;
40
}
41
42
public
List<Restriction>
getRestrictions
() {
43
return
restrictions
;
44
}
45
46
public
String
getDB
() {
47
return
catalog
;
48
}
49
50
public
String
getUser
() {
51
return
user
;
52
}
53
54
public
int
getPort
() {
55
return
port
;
56
}
57
58
public
String
getSession
() {
59
return
session
;
60
}
61
}
com.mapd.calcite.parser.HeavyDBUser.HeavyDBUser
HeavyDBUser(String user, String session, String catalog, int port, List< Restriction > restrictions)
Definition:
HeavyDBUser.java:30
com.mapd.calcite.parser.HeavyDBUser.getSession
String getSession()
Definition:
HeavyDBUser.java:58
com.mapd.calcite.parser.HeavyDBUser.getDB
String getDB()
Definition:
HeavyDBUser.java:46
com.mapd.calcite.parser.HeavyDBUser.getPort
int getPort()
Definition:
HeavyDBUser.java:54
org.apache.calcite.rel.rules.Restriction
Definition:
Restriction.java:21
com.mapd.calcite.parser.HeavyDBUser.restrictions
final List< Restriction > restrictions
Definition:
HeavyDBUser.java:28
com.mapd.calcite.parser.HeavyDBUser.port
final int port
Definition:
HeavyDBUser.java:26
com.mapd.calcite.parser.HeavyDBUser.catalog
final String catalog
Definition:
HeavyDBUser.java:25
com.mapd.calcite.parser.HeavyDBUser
Definition:
HeavyDBUser.java:23
com.mapd.calcite.parser.HeavyDBUser.session
final String session
Definition:
HeavyDBUser.java:27
com.mapd.calcite.parser.HeavyDBUser.user
final String user
Definition:
HeavyDBUser.java:24
com.mapd.calcite.parser.HeavyDBUser.getRestrictions
List< Restriction > getRestrictions()
Definition:
HeavyDBUser.java:42
com.mapd.calcite.parser.HeavyDBUser.getUser
String getUser()
Definition:
HeavyDBUser.java:50
java
calcite
src
main
java
com
mapd
calcite
parser
HeavyDBUser.java
Generated on Tue Aug 27 2024 00:12:38 for OmniSciDB by
1.8.5