@TranslatorProperty(display="Supports Common Table Expressions", description="Supports Common Table Expressions",advanced=true) @Override public boolean supportsCommonTableExpressions() { return supportsCommonTableExpressions; }
boolean importProperty = tp.category()==TranslatorProperty.PropertyType.IMPORT; if (defaultValue != null && !importProperty) { metadata.addProperty(getPropertyName(m), defaultValue.toString()); epm.category = tp.category().name(); epm.name = importProperty?"importer."+getPropertyName(m):getPropertyName(m); //$NON-NLS-1$ epm.description = tp.description(); epm.advanced = tp.advanced(); if (defaultValue != null) { epm.defaultValue = defaultValue.toString(); epm.displayName = tp.display(); epm.masked = tp.masked(); epm.required = tp.required(); epm.dataType = m.getReturnType().getCanonicalName();
String[] allowedValues = null; Method getter = null; boolean readOnly = prop.readOnly(); if (type == Void.TYPE) { //check for setter Class<?>[] types = method.getParameterTypes(); if (prop.required()) { if (prop.advanced()) { throw new TeiidRuntimeException(RuntimePlugin.Event.TEIID40031, RuntimePlugin.Util.gs(RuntimePlugin.Event.TEIID40031,method));
@Override @TranslatorProperty(display="Use Bindings For Dependent Join", description= "If PreparedStatement bindings should be used for dependent join values.") public boolean useBindingsForDependentJoin() { return useBindingsForDependentJoin; }
@TranslatorProperty(display = "Data Row Number", category = PropertyType.IMPORT, description = "Row number from which data rows start from") public int getDataRowNumber() { return dataRowNumber; }
@TranslatorProperty(display="Swagger metadata file path", category=PropertyType.IMPORT, description="Swagger metadata file path.") public String getSwaggerFilePath() { return swaggerFilePath; }
@TranslatorProperty(display="Supports Updates", description="True, if(PUT,PATCH,DELETE) operations supported", advanced=true) public boolean supportsUpdates() { return supportsUpdates; }
@Override @TranslatorProperty(display="Supports ORDER BY", description="True, if this connector supports ORDER BY", advanced=true) public boolean supportsOrderBy() { return supportsOdataOrderBy; }
@TranslatorProperty(display="Excel File", category=PropertyType.IMPORT, description="Name of the Excel file to read metadata from", required=true) public String getExcelFileName() { return excelFileName; } }
@Override @TranslatorProperty(display="Supports Count(expr)", description="Supports Aggregate function count with expression", advanced=true) public boolean supportsAggregatesCount() { return supportsAggregatesCount; }
/** * Indicates the collation used for sorting */ @TranslatorProperty(display="Collation Locale", description="The collation locale used by default for sorting.", advanced=true) public String getCollationLocale() { return collationLocale; }
/** * Whether the source supports queries without criteria. * @since 6.0 */ @TranslatorProperty(display="Requries Criteria", description="True, if this connector requires criteria on source queries", advanced=true) public boolean requiresCriteria() { return requiresCriteria; }
/** * Get the max number of inserts to perform in one batch. * @return */ @TranslatorProperty(display="Max Prepared Insert Batch Size", description="The max size of a prepared insert batch. Default 2048.", advanced=true) public int getMaxPreparedInsertBatchSize() { return maxInsertBatchSize; }
@TranslatorProperty(display="Supports Group By", description="Defaults to true. Set to false to have Teiid process group by aggregations, such as those returning more than 2000 rows which error in SOQL", advanced=true) @Override public boolean supportsGroupBy() { return this.supportsGroupBy ; }
@TranslatorProperty(display = "Ignore Empty Header Cells", category = TranslatorProperty.PropertyType.IMPORT, description = "When true any cells with empty value for header row are ignored, otherwise an empty header row cell indicates end of columns.") public boolean getIgnoreEmptyHeaderCells() { return ignoreEmptyCells; }
@TranslatorProperty(display="Preferred Scheme", category=PropertyType.IMPORT, description="Preferred Scheme to use when Swagger file supports multiple invocation schemes like http, https etc.") public String getPreferredScheme() { return this.preferredScheme; }
@TranslatorProperty(display="Preferred Accept Header", category=PropertyType.IMPORT, description="Preferred Accept MIME type header, this should be one of the Swagger " + "'produces' types; default is application/json") public String getPreferredProduces() { return this.preferredProduces; }
@TranslatorProperty(display="Preferred Content-type Header", category=PropertyType.IMPORT, description="Preferred Content-type header, this should be one of the Swagger 'consume' " + "types, default is application/json") public String getPreferredConsumes() { return this.preferredConsumes; }
@TranslatorProperty(display="Schema Namespace", category=PropertyType.IMPORT, description="Namespace of the schema to import") public String getSchemaNamespace() { return schemaNamespace; } }
@TranslatorProperty(display="Schema Namespace", category=PropertyType.IMPORT, description="Namespace of the schema to import") public String getSchemaNamespace() { return schemaNamespace; } }