Questions tagged [apache-metamodel]

The Apache Metamodel project provides a common interface for discovery, exploration of metadata and querying of different types of data sources.

Project Homepage: https://metamodel.apache.org/

47 questions
0
votes
1 answer

How to write user defined functions like variance,standard deviation for hive in Apache Metamodel?

I have to perform a query on hive database using apache metamodel.But the functions like variance and standard deviation which are present in the hive are not present in the metamodel. When I am doing a rest API call I am getting the following…
Prog_G
  • 1,539
  • 1
  • 8
  • 22
0
votes
1 answer

Apache MetaModel DataContext.getDefaultSchema not working

I am currently using Apache's MetaModel 4.6.0 API for Java 1.8. I am having trouble getting the default schema for the DataContext I want to use. Below is a snippet my code: private DataContext dataContext; private Schema schema; private Table…
BlueMoose
  • 117
  • 11
0
votes
1 answer

Travis max log size & omitting library generated log

I'm using Github (https://github.com/connecta-solutions/connecta-framework) and Travis (https://travis-ci.org/connecta-solutions/connecta-framework) to host and build an open-source project of mine, that uses Apache Metamodel as one of its…
ViniciusPires
  • 983
  • 3
  • 12
  • 26
0
votes
0 answers

To restore timestamp value as it is to another Oracle database

We are working on spring boot hibernate application that deals with databases. We backup the database tables into csv format. While backup Oracle 11g table that contains TIMESTAMP WITH TIME ZONE columns we are facing issues as this type can have two…
Neelam Sharma
  • 2,745
  • 4
  • 32
  • 73
0
votes
1 answer

Apache MetaModel - bad performance querying spreadsheet

I need to query a spreadsheet file in Java. I'm using Apache MetaModel. I imported it with maven using org.apache.metamodel MetaModel-excel
Gabe
  • 5,997
  • 5
  • 46
  • 92
0
votes
1 answer

How to do curd operation in Hbase using Apache MetaModel?

I want to insert data in Hbase database using apache MetaModel. I have got the HbaseConfiguration object using host and port number. After that, how to insert data?
Santanu
  • 337
  • 1
  • 3
  • 13
0
votes
1 answer

can i do insert,update and delete operation on cassandra 3 database using apache MetaModel?

I can do select operation from cassandra database using Apache MetaModel.But insert,delete,and update operation is not happening. I am using latest cassendra version 3.0.7 and using datastax/java driver.After that i have used cassandra-jdba…
Santanu
  • 337
  • 1
  • 3
  • 13
0
votes
1 answer

How to extract the value of TIME(7) field of MS SQL SERVER 2008 R2 in java?

I am using Apache Meta-model to extract the values from MS SQL SERVER 2008 R2 database. There is a field in MS SQL SERVER 2008 R2 database of type TIME(7) whose java equivalent type is java.sql.Time but java.sql.Time is NOT showing the milliseconds.…
santosh
  • 435
  • 1
  • 7
  • 24
0
votes
1 answer

apache metamodel queryConstraints

DataSet dataSet = datacontext.query() .from(table) .select(colNameArr) .where(frstCol).eq(dynamicval1).and("").eq("").or("").eq("")....etc .execute(); Can this be achieved?, can I dynamically decide the constraint, starting from…
peaceUser
  • 457
  • 5
  • 19
0
votes
1 answer

how to restore `timestamp` value in Sybase ASE 15.5?

I am reading data from one Table of Sybase ASE 15.5 database and inserting that data back into another target Sybase ASE 15.5 database. All source and destination data matched instead of timestamp column. As what I know about the timestamp column…
Ashish Pancholi
  • 4,569
  • 13
  • 50
  • 88
0
votes
1 answer

Deal with RAW of ORACLE (Archive-Restore)

I am working on a project that deal with ORACLE DATABASE. My project has two functionality, one is fetching content of table into a flat file aka backup and second one is take that flat file to restore that data back to blank table having same…
Tej Kiran
  • 2,218
  • 5
  • 21
  • 42
0
votes
2 answers

Sybase DataContext : The column prefix does not match with a table name or alias name

We are dealing with sybase database in core java code. We are using org.eobjects.metamodel.DataContext to parse query. String sCol[]=table.getColumnNames(); Query query=dataContext.query().from(table.getName()).select(sCol).toQuery(); return new…
Neelam Sharma
  • 2,745
  • 4
  • 32
  • 73
0
votes
1 answer

Apache metamodel example for CouchDB

I am tasked with using Apache Metamodel with CouchDB and Node.js. Despite trying it out in google, i could not get an example for the same. Th examples found seem to be more suited for RDBMS! Can i get an example to connect to couchdb, list all…
0
votes
1 answer

Using webdriver and testng with apache metamodel for multiple excel sheets data as test input

Is there a possiblity of using primary key and foreign key for excel sheets using metamodel api to cook data for the testng tests in selenium webdriver
Ajith P
  • 21
  • 8
0
votes
1 answer

Reading Datasource metadata using apache metamodel

I would like to read metadata of the datasource. Be it a Database or Files. The requirement is to display the set of available tables and columns of each table. I also would like to know the details of foreign keys, etc. I know this should be…
Gana
  • 482
  • 3
  • 11
  • 32