MCPcopy Create free account
hub / github.com/ddf-project/DDF / sql2ddf

Method sql2ddf

core/src/main/java/io/ddf/content/ViewHandler.java:168–177  ·  view source on GitHub ↗
(String sqlCommand, String errorMessage)

Source from the content-addressed store, hash-verified

166 // ///// Execute SQL command on the DDF ///////
167
168 private DDF sql2ddf(String sqlCommand, String errorMessage) throws DDFException {
169 try {
170 return this.getManager().sql2ddf(String.format(sqlCommand, "{1}"),
171 new SQLDataSourceDescriptor(sqlCommand, null, null, null, this
172 .getDDF().getUUID().toString()));
173
174 } catch (Exception e) {
175 throw new DDFException(String.format(errorMessage, this.getDDF().getTableName()), e);
176 }
177 }
178
179 @Override
180 public DDF subset(List<Column> columnExpr, Expression filter) throws DDFException {

Callers 2

topMethod · 0.95
projectMethod · 0.95

Calls 6

sql2ddfMethod · 0.65
getUUIDMethod · 0.65
getDDFMethod · 0.65
getTableNameMethod · 0.65
getManagerMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected