You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by Shivani Mall <sm...@ucr.edu> on 2015/02/15 00:08:59 UTC

Understanding vxquery code in eclipse

I just set up eclipse with the vxquery code. I am trying to understand the
packages and the folder structure and trace down the command line(
vxquery-cli/target/appassembler/bin/test.xq: for testing a file) in the
code base packages, but I could not find the right path. I also noticed
that  there are dependent projects with same names: cli, core, server and
almost the same folder/ names of java files as inside the master vxquery
project. Is there a documentation that I can read to understand how in the
code does it find the right path and execute for a specific query? ( I am
sure I am misinterpreting things here.)

Also, the java docs are helpful but what (project/package) will be a good
place to start to understand the code from the base level?
ᐧ

Re: Understanding vxquery code in eclipse

Posted by Shivani Mall <sm...@ucr.edu>.
I just looked at the source code that I set up on eclipse and how the
projects and packages were organized. When I could not find my answers, I
asked Preston. He walked me through pom.xml and gave a brief overview. I
feel there could be separate section on the website that talks about this
and specifics about the code in general (for eg. as Preston suggested the
basic algorithms that goes into writing most of the VXQuery runtime
functions)

Thanks,
Shivani
ᐧ

On Mon, Feb 16, 2015 at 9:24 PM, Till Westmann <ti...@apache.org> wrote:

> Hi Shivani,
>
> sorry for the late reply. It’s great that Preston could help you and that
> you summarized it for the list!
> I’m wondering what the best place would be to put such information for
> future reference.
> When you were looking for it, did you consult the website or the source
> code (or both)?
>
> Thanks,
> Till
>
> > On Feb 16, 2015, at 4:55 PM, Shivani Mall <sm...@ucr.edu> wrote:
> >
> > I talked to Preston offline and he explained all the different projects
> and
> > its use. VXQuery-cli is has only one java class that has all the code
> that
> > deals with command line interface, and the way path is set up can
> actually
> > be seen in pom.xml. Maven resolves the all dependencies and redirects to
> > target and so on. CLI calls everything in core. All the actual code for
> > VXQuery and rewrite rules are written in classes in core. Server creates
> > VX-Query server, data nodes and scripts to start the cluster. Benchmark
> has
> > the weather benchmark and eventually support XMark Benchmark. XTest is
> the
> > test suite, that is, has all the test cases for testing all XQuery specs
> > and functions.
> > ᐧ
> >
> > On Sat, Feb 14, 2015 at 3:08 PM, Shivani Mall <sm...@ucr.edu> wrote:
> >
> >> I just set up eclipse with the vxquery code. I am trying to understand
> the
> >> packages and the folder structure and trace down the command line(
> >> vxquery-cli/target/appassembler/bin/test.xq: for testing a file) in the
> >> code base packages, but I could not find the right path. I also noticed
> >> that  there are dependent projects with same names: cli, core, server
> and
> >> almost the same folder/ names of java files as inside the master vxquery
> >> project. Is there a documentation that I can read to understand how in
> the
> >> code does it find the right path and execute for a specific query? ( I
> am
> >> sure I am misinterpreting things here.)
> >>
> >> Also, the java docs are helpful but what (project/package) will be a
> good
> >> place to start to understand the code from the base level?
> >>
>

Re: Understanding vxquery code in eclipse

Posted by Till Westmann <ti...@apache.org>.
Hi Shivani,

sorry for the late reply. It’s great that Preston could help you and that you summarized it for the list!
I’m wondering what the best place would be to put such information for future reference.
When you were looking for it, did you consult the website or the source code (or both)?

Thanks,
Till

> On Feb 16, 2015, at 4:55 PM, Shivani Mall <sm...@ucr.edu> wrote:
> 
> I talked to Preston offline and he explained all the different projects and
> its use. VXQuery-cli is has only one java class that has all the code that
> deals with command line interface, and the way path is set up can actually
> be seen in pom.xml. Maven resolves the all dependencies and redirects to
> target and so on. CLI calls everything in core. All the actual code for
> VXQuery and rewrite rules are written in classes in core. Server creates
> VX-Query server, data nodes and scripts to start the cluster. Benchmark has
> the weather benchmark and eventually support XMark Benchmark. XTest is the
> test suite, that is, has all the test cases for testing all XQuery specs
> and functions.
> ᐧ
> 
> On Sat, Feb 14, 2015 at 3:08 PM, Shivani Mall <sm...@ucr.edu> wrote:
> 
>> I just set up eclipse with the vxquery code. I am trying to understand the
>> packages and the folder structure and trace down the command line(
>> vxquery-cli/target/appassembler/bin/test.xq: for testing a file) in the
>> code base packages, but I could not find the right path. I also noticed
>> that  there are dependent projects with same names: cli, core, server and
>> almost the same folder/ names of java files as inside the master vxquery
>> project. Is there a documentation that I can read to understand how in the
>> code does it find the right path and execute for a specific query? ( I am
>> sure I am misinterpreting things here.)
>> 
>> Also, the java docs are helpful but what (project/package) will be a good
>> place to start to understand the code from the base level?
>> 

Re: Understanding vxquery code in eclipse

Posted by Shivani Mall <sm...@ucr.edu>.
I talked to Preston offline and he explained all the different projects and
its use. VXQuery-cli is has only one java class that has all the code that
deals with command line interface, and the way path is set up can actually
be seen in pom.xml. Maven resolves the all dependencies and redirects to
target and so on. CLI calls everything in core. All the actual code for
VXQuery and rewrite rules are written in classes in core. Server creates
VX-Query server, data nodes and scripts to start the cluster. Benchmark has
the weather benchmark and eventually support XMark Benchmark. XTest is the
test suite, that is, has all the test cases for testing all XQuery specs
and functions.
ᐧ

On Sat, Feb 14, 2015 at 3:08 PM, Shivani Mall <sm...@ucr.edu> wrote:

> I just set up eclipse with the vxquery code. I am trying to understand the
> packages and the folder structure and trace down the command line(
> vxquery-cli/target/appassembler/bin/test.xq: for testing a file) in the
> code base packages, but I could not find the right path. I also noticed
> that  there are dependent projects with same names: cli, core, server and
> almost the same folder/ names of java files as inside the master vxquery
> project. Is there a documentation that I can read to understand how in the
> code does it find the right path and execute for a specific query? ( I am
> sure I am misinterpreting things here.)
>
> Also, the java docs are helpful but what (project/package) will be a good
> place to start to understand the code from the base level?
> ᐧ
>