OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder Class Reference
+ Collaboration diagram for com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder:

Public Member Functions

void setPos (SqlParserPos pos)
 
void addFilter (final String attribute, final String value, final SqlFilter.Operation operation, final SqlFilter.Chain chain)
 
SqlShowForeignServers build ()
 

Private Attributes

List< SqlFilterfilters
 
SqlParserPos pos
 
SqlNode where
 

Detailed Description

Definition at line 18 of file SqlShowForeignServers.java.

Member Function Documentation

void com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.addFilter ( final String  attribute,
final String  value,
final SqlFilter.Operation  operation,
final SqlFilter.Chain  chain 
)
inline

Definition at line 26 of file SqlShowForeignServers.java.

References com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.filters, and com.mapd.parser.extension.ddl.heavysql.HeavySqlSanitizedString.toString().

29  {
30  if (filters == null) {
31  filters = new ArrayList<>();
32  }
33 
34  HeavySqlSanitizedString sanitizedValue = new HeavySqlSanitizedString(value);
35  filters.add(new SqlFilter(attribute, sanitizedValue.toString(), operation, chain));
36  }

+ Here is the call graph for this function:

SqlShowForeignServers com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.build ( )
inline
void com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.setPos ( SqlParserPos  pos)
inline

Member Data Documentation

List<SqlFilter> com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.filters
private
SqlParserPos com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.pos
private
SqlNode com.mapd.parser.extension.ddl.SqlShowForeignServers.Builder.where
private

The documentation for this class was generated from the following file: