Skip to content

Commit

Permalink
TEIID-2816 removing override and correcting release note
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Jan 15, 2015
1 parent 24e28d8 commit 117aab9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <H2><A NAME="Highlights"></A>Highlights</H2>
<li>TEIID-1091 <b>Additional SQL/XML Support</b> - XMLEXISTS, XMLTEXT, and XMLCAST were added.
<li>TEIID-3216 <b>Update Support for Google Spreadsheets</b>
<li>TEIID-2384 <b>Geospatial Support</b> - contributed by Tom Arnold. Adds a geometry type and several functions. See the reference for more.
<li>TEIID-2816 <b>Hbase Support</b> - based upon the Pheonix JDBC Drirver.
<li>TEIID-2816 <b>Hbase Support</b> - based upon the Phoenix JDBC Drirver.
</ul>

<h2><a name="Compatibility">Compatibility Issues</a></h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,16 @@
import java.sql.SQLException;

import org.teiid.core.types.BinaryType;
import org.teiid.core.util.PropertiesUtils;
import org.teiid.language.Command;
import org.teiid.language.Literal;
import org.teiid.language.QueryExpression;
import org.teiid.metadata.MetadataFactory;
import org.teiid.metadata.RuntimeMetadata;
import org.teiid.translator.ExecutionContext;
import org.teiid.translator.MetadataProcessor;
import org.teiid.translator.ResultSetExecution;
import org.teiid.translator.Translator;
import org.teiid.translator.TranslatorException;
import org.teiid.translator.TypeFacility;
import org.teiid.translator.jdbc.JDBCExecutionFactory;
import org.teiid.translator.jdbc.JDBCPlugin;
import org.teiid.translator.jdbc.JDBCUpdateExecution;

@Translator(name="hbase", description="HBase Translator, reads and writes the data to HBase")
Expand Down Expand Up @@ -76,27 +72,13 @@ public HBaseSQLConversionVisitor getSQLConversionVisitor() {
return new HBaseSQLConversionVisitor(this);
}


/*
* Phoenix do not support XML, CLOB, BLOB, OBJECT
*/
protected boolean isBindEligible(Literal l) {
return false;
}

@Override
public void getMetadata(MetadataFactory metadataFactory, Connection conn) throws TranslatorException {

if (conn == null) {
throw new TranslatorException(HBasePlugin.Event.TEIID27005, JDBCPlugin.Util.gs(HBasePlugin.Event.TEIID27016));
}
MetadataProcessor mp = getMetadataProcessor();
if (mp != null) {
PropertiesUtils.setBeanProperties(mp, metadataFactory.getModelProperties(), "importer"); //$NON-NLS-1$
mp.process(metadataFactory, conn);
}
}

@Override
public void bindValue(PreparedStatement pstmt, Object param, Class<?> paramType, int i) throws SQLException {

Expand Down

0 comments on commit 117aab9

Please sign in to comment.