simple-db | Simple DBMS MIT 6.830 muscle | Object-Relational Mapping library
kandi X-RAY | simple-db Summary
kandi X-RAY | simple-db Summary
My solutions for 6.830 labs. PLEASE DON’T COPY MY SOLUTION. I posted my implementation ONLY FOR exchanging the idea how to do it in more smarter way, but not for your answer of this awesome course. 与6.828类似,这是我完成的6.830 simple-db 重构后的代码(部分目录结构和实现风格),请勿抄袭,仅供技术交流用。 衷心感谢MIT能够提供如此棒的课程资源.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a new BTreeFile with the given number of columns
- Converts a set of entries into a byte array
- Convert an input text file into a binary page file
- This method converts the B + tree into a B + file
- Insert a tuple
- Try to acquire lock on a page
- Creates a new BTreeFile with the specified columns
- Creates a new BTreeFile with the given column and column fields
- Returns the cost and cardinality of the joinSet
- Returns a new BinaryJoinNode with the inner tables swapped
- Restore the database system
- Read the next child pointer
- Reads a page from disk
- Convert a data file
- Merge a new result into the aggregate
- Reset the iterator
- Returns the next tuple generated by the join predicate
- Read the next tuple from the input stream
- Reads the next tuple from the source file
- Merge two TupleDescs into one
- Creates a new HeapFile with an empty page
- Inserts a tuple into this table
- Deletes all pages with the specified Tuple
- Enumerate all subsets of a specific vector
- Merges a new tuple into this aggregator
- Displays the join plan for the given joins
simple-db Key Features
simple-db Examples and Code Snippets
Community Discussions
Trending Discussions on simple-db
QUESTION
Basic Setup
Ant newbie; Mac OS
What I am trying to do
https://github.com/MIT-DB-Class/course-info-2017/blob/master/lab1.md#1-getting-started.
Commands I use
- git clone git@github.com:MIT-DB-Class/simple-db-hw.git
- cd simple-db-hw
- brew install ant
- ant test
What I get after the last command
Buildfile: /Users/evan/Desktop/tmp1/simple-db-hw/build.xml
compile:
BUILD FAILED /Users/evan/Desktop/tmp1/simple-db-hw/build.xml:169: The following error occurred while executing this line: /Users/evan/Desktop/tmp1/simple-db-hw/build.xml:46: /Users/evan/Desktop/tmp1/simple-db-hw/build.xml:46: srcdir attribute must be non-empty
Total time: 0 seconds
Related file
Here are the build.xml: https://gist.github.com/YikSanChan/9ce29ec239db525cd9d4bd62baa62095
Things I have tried
The issue with homebrew install ant
? I tried to download 1.10.2.tar.gz from http://ant.apache.org/bindownload.cgi and gets the same result.
Question
What's wrong? Any advice is appreciated. Thank you!
...ANSWER
Answered 2018-Mar-06 at 23:19The problem is in the Compile
macrodef. It tries to reference the attribute named srcdir
but it is written as a standard property reference using the ${}
syntax, instead of the attribute syntax which uses @{}
.
So on line 46 try changing this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install simple-db
You can use simple-db like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the simple-db component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page