Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill, mail # dev - [34/53] [abbrv] git commit: Updated value vectors inheritance model. Moved Mutables to separate Mutator subclasses. Broke VVs into separate files rather than one large class.


Copy link to this message
-
Re: [34/53] [abbrv] git commit: Updated value vectors inheritance model. Moved Mutables to separate Mutator subclasses. Broke VVs into separate files rather than one large class.
Ted Dunning 2013-07-20, 02:19
On Fri, Jul 19, 2013 at 6:57 PM, <[EMAIL PROTECTED]> wrote:

> Updated value vectors inheritance model.
> Moved Mutables to separate Mutator subclasses.
> Broke VVs into separate files rather than one large class.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
> Commit:
> http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/36793bb2
> Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/36793bb2
> Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/36793bb2
>
> Branch: refs/heads/master
> Commit: 36793bb2f22cd427c8b70d2f5dfe4a4d8a3a6894
> Parents: 7075cca
> Author: Jacques Nadeau <[EMAIL PROTECTED]>
> Authored: Sat Jul 13 21:28:12 2013 -0700
> Committer: Jacques Nadeau <[EMAIL PROTECTED]>
> Committed: Mon Jul 15 11:36:32 2013 -0700
>
> ----------------------------------------------------------------------
>  sandbox/prototype/exec/java-exec/pom.xml        |   2 +-
>  .../templates/FixedValueVectors.java            | 163 ++++
>  .../templates/NullableValueVectors.java         | 151 ++++
>  .../templates/RepeatedValueVectors.java         | 158 ++++
>  .../ValueVectors/templates/TypeHelper.java      |  28 +-
>  .../ValueVectors/templates/ValueVector.java     | 768 -------------------
>  .../templates/VariableLengthVectors.java        | 152 ++++
>  .../exec/physical/config/MockRecordReader.java  |  17 +-
>  .../physical/config/MockScanBatchCreator.java   |   3 -
>  .../drill/exec/physical/config/MockScanPOP.java |   2 +-
>  .../exec/physical/impl/FilterRecordBatch.java   |   4 +-
>  .../drill/exec/physical/impl/OutputMutator.java |   5 +-
>  .../drill/exec/physical/impl/ScanBatch.java     |  24 +-
>  .../exec/physical/impl/WireRecordBatch.java     |   7 +-
>  .../apache/drill/exec/record/BatchSchema.java   |   2 -
>  .../apache/drill/exec/record/RecordBatch.java   |   4 +-
>  .../drill/exec/record/RecordBatchLoader.java    |  22 +-
>  .../apache/drill/exec/record/WritableBatch.java |  10 +-
>  .../exec/record/vector/SelectionVector.java     |  14 +-
>  .../drill/exec/store/JSONRecordReader.java      |  87 ++-
>  .../apache/drill/exec/store/VectorHolder.java   |  11 +-
>  .../org/apache/drill/exec/vector/BitVector.java | 123 +++
>  .../apache/drill/exec/vector/ValueVector.java   | 192 +++++
>  .../physical/impl/TestSimpleFragmentRun.java    |   6 +-
>  .../exec/record/vector/TestValueVector.java     | 201 +++--
>  .../drill/exec/store/JSONRecordReaderTest.java  |  40 +-
>  26 files changed, 1212 insertions(+), 984 deletions(-)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/36793bb2/sandbox/prototype/exec/java-exec/pom.xml
> ----------------------------------------------------------------------
> diff --git a/sandbox/prototype/exec/java-exec/pom.xml
> b/sandbox/prototype/exec/java-exec/pom.xml
> index 4e4df95..1b6dac0 100644
> --- a/sandbox/prototype/exec/java-exec/pom.xml
> +++ b/sandbox/prototype/exec/java-exec/pom.xml
> @@ -173,7 +173,7 @@
>                                 <version>1.0</version>
>                                 <configuration>
>
> <cfgFile>src/main/codegen/ValueVectors/config.fmpp</cfgFile>
> -
> <outputDirectory>target/generated-sources/org/apache/drill/exec/record/vector</outputDirectory>
> +
> <outputDirectory>target/generated-sources/org/apache/drill/exec/vector</outputDirectory>
>
> <templateDirectory>src/main/codegen/ValueVectors/templates</templateDirectory>
>                                 </configuration>
>                                 <executions>
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/36793bb2/sandbox/prototype/exec/java-exec/src/main/codegen/ValueVectors/templates/FixedValueVectors.java
> ----------------------------------------------------------------------
> diff --git
> a/sandbox/prototype/exec/java-exec/src/main/codegen/ValueVectors/templates/FixedValueVectors.java
> b/sandbox/prototype/exec/java-exec/src/main/codegen/ValueVectors/templates/FixedValueVectors.java