GORA-390 Re-generate all Gora objects from their schemas.
Project: http://git-wip-us.apache.org/repos/asf/gora/repo Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/80d5d8d1 Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/80d5d8d1 Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/80d5d8d1 Branch: refs/heads/master Commit: 80d5d8d1c6f0f24772a1039f8220c679ffca6ea6 Parents: dc5996a Author: Damien Raude-Morvan <[email protected]> Authored: Thu Oct 23 00:39:43 2014 +0200 Committer: Damien Raude-Morvan <[email protected]> Committed: Thu Oct 23 00:39:43 2014 +0200 ---------------------------------------------------------------------- .../gora/examples/generated/Employee.java | 26 +- .../examples/generated/ImmutableFields.java | 10 +- .../gora/examples/generated/Metadata.java | 10 +- .../gora/examples/generated/TokenDatum.java | 6 +- .../org/apache/gora/examples/generated/V2.java | 6 +- .../apache/gora/examples/generated/WebPage.java | 28 +- .../apache/gora/goraci/generated/CINode.java | 14 +- .../apache/gora/goraci/generated/Flushed.java | 6 +- .../tutorial/log/generated/MetricDatum.java | 12 +- .../gora/tutorial/log/generated/Pageview.java | 388 +++++++++---------- 10 files changed, 253 insertions(+), 253 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java index dd6f3a9..db014ce 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/Employee.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -135,7 +135,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'name' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isNameDirty(java.lang.CharSequence value) { + public boolean isNameDirty() { return isDirty(0); } @@ -159,7 +159,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'dateOfBirth' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isDateOfBirthDirty(java.lang.Long value) { + public boolean isDateOfBirthDirty() { return isDirty(1); } @@ -183,7 +183,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'ssn' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isSsnDirty(java.lang.CharSequence value) { + public boolean isSsnDirty() { return isDirty(2); } @@ -207,7 +207,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'salary' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isSalaryDirty(java.lang.Integer value) { + public boolean isSalaryDirty() { return isDirty(3); } @@ -231,7 +231,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'boss' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isBossDirty(java.lang.Object value) { + public boolean isBossDirty() { return isDirty(4); } @@ -255,7 +255,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'webpage' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isWebpageDirty(org.apache.gora.examples.generated.WebPage value) { + public boolean isWebpageDirty() { return isDirty(5); } @@ -547,7 +547,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'name' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isNameDirty(java.lang.CharSequence value) { + public boolean isNameDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -570,7 +570,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'dateOfBirth' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isDateOfBirthDirty(java.lang.Long value) { + public boolean isDateOfBirthDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -593,7 +593,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'ssn' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isSsnDirty(java.lang.CharSequence value) { + public boolean isSsnDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -616,7 +616,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'salary' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isSalaryDirty(java.lang.Integer value) { + public boolean isSalaryDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -639,7 +639,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'boss' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isBossDirty(java.lang.Object value) { + public boolean isBossDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -662,7 +662,7 @@ public class Employee extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'webpage' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isWebpageDirty(org.apache.gora.examples.generated.WebPage value) { + public boolean isWebpageDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java index 10f48dc..b0e4609 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/ImmutableFields.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -116,7 +116,7 @@ public class ImmutableFields extends org.apache.gora.persistency.impl.Persistent * Checks the dirty status of the 'v1' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV1Dirty(java.lang.Integer value) { + public boolean isV1Dirty() { return isDirty(0); } @@ -140,7 +140,7 @@ public class ImmutableFields extends org.apache.gora.persistency.impl.Persistent * Checks the dirty status of the 'v2' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV2Dirty(org.apache.gora.examples.generated.V2 value) { + public boolean isV2Dirty() { return isDirty(1); } @@ -309,7 +309,7 @@ public class ImmutableFields extends org.apache.gora.persistency.impl.Persistent * Checks the dirty status of the 'v1' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV1Dirty(java.lang.Integer value) { + public boolean isV1Dirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -332,7 +332,7 @@ public class ImmutableFields extends org.apache.gora.persistency.impl.Persistent * Checks the dirty status of the 'v2' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV2Dirty(org.apache.gora.examples.generated.V2 value) { + public boolean isV2Dirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java index de6882b..8554be3 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/Metadata.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -115,7 +115,7 @@ public class Metadata extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'version' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isVersionDirty(java.lang.Integer value) { + public boolean isVersionDirty() { return isDirty(0); } @@ -139,7 +139,7 @@ public class Metadata extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'data' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isDataDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isDataDirty() { return isDirty(1); } @@ -308,7 +308,7 @@ public class Metadata extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'version' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isVersionDirty(java.lang.Integer value) { + public boolean isVersionDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -331,7 +331,7 @@ public class Metadata extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'data' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isDataDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isDataDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java index f0ad9b8..53de084 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/TokenDatum.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -110,7 +110,7 @@ public class TokenDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Integer value) { + public boolean isCountDirty() { return isDirty(0); } @@ -248,7 +248,7 @@ public class TokenDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Integer value) { + public boolean isCountDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java index 1dbb314..7cb9c5f 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/V2.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -110,7 +110,7 @@ public class V2 extends org.apache.gora.persistency.impl.PersistentBase implemen * Checks the dirty status of the 'v3' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV3Dirty(java.lang.Integer value) { + public boolean isV3Dirty() { return isDirty(0); } @@ -248,7 +248,7 @@ public class V2 extends org.apache.gora.persistency.impl.PersistentBase implemen * Checks the dirty status of the 'v3' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isV3Dirty(java.lang.Integer value) { + public boolean isV3Dirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java ---------------------------------------------------------------------- diff --git a/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java b/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java index 6f9b688..b43a08d 100644 --- a/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java +++ b/gora-core/src/examples/java/org/apache/gora/examples/generated/WebPage.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -17,7 +17,7 @@ package org.apache.gora.examples.generated; @SuppressWarnings("all") public class WebPage extends org.apache.gora.persistency.impl.PersistentBase implements org.apache.avro.specific.SpecificRecord, org.apache.gora.persistency.Persistent { - public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"WebPage\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"url\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"content\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"parsedContent\",\"type\":{\"type\":\"array\",\"items\":\"string\"},\"default\":null},{\"name\":\"outlinks\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}},{\"name\":\"headers\",\"type\":[\"null\",{\"type\":\"map\",\"values\":[\"null\",\"string\"]}],\"default\":null},{\"name\":\"metadata\",\"type\":{\"type\":\"record\",\"name\":\"Metadata\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":null}]},\"default\":null}],\"default\":null}"); + public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"WebPage\",\"namespace\":\"org.apache.gora.examples.generated\",\"fields\":[{\"name\":\"url\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"content\",\"type\":[\"null\",\"bytes\"],\"default\":null},{\"name\":\"parsedContent\",\"type\":{\"type\":\"array\",\"items\":\"string\"},\"default\":{}},{\"name\":\"outlinks\",\"type\":{\"type\":\"map\",\"values\":[\"null\",\"string\"]},\"default\":{}},{\"name\":\"headers\",\"type\":[\"null\",{\"type\":\"map\",\"values\":[\"null\",\"string\"]}],\"default\":null},{\"name\":\"metadata\",\"type\":{\"type\":\"record\",\"name\":\"Metadata\",\"fields\":[{\"name\":\"version\",\"type\":\"int\",\"default\":0},{\"name\":\"data\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"default\":{}}]},\"default\":null}]}"); /** Enum containing all data bean's fields. */ public static enum Field { @@ -135,7 +135,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isUrlDirty(java.lang.CharSequence value) { + public boolean isUrlDirty() { return isDirty(0); } @@ -159,7 +159,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'content' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isContentDirty(java.nio.ByteBuffer value) { + public boolean isContentDirty() { return isDirty(1); } @@ -183,7 +183,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'parsedContent' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isParsedContentDirty(java.util.List<java.lang.CharSequence> value) { + public boolean isParsedContentDirty() { return isDirty(2); } @@ -207,7 +207,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'outlinks' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isOutlinksDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isOutlinksDirty() { return isDirty(3); } @@ -231,7 +231,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'headers' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isHeadersDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isHeadersDirty() { return isDirty(4); } @@ -255,7 +255,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'metadata' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetadataDirty(org.apache.gora.examples.generated.Metadata value) { + public boolean isMetadataDirty() { return isDirty(5); } @@ -549,7 +549,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isUrlDirty(java.lang.CharSequence value) { + public boolean isUrlDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -572,7 +572,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'content' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isContentDirty(java.nio.ByteBuffer value) { + public boolean isContentDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -595,7 +595,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'parsedContent' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isParsedContentDirty(java.util.List<java.lang.CharSequence> value) { + public boolean isParsedContentDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -618,7 +618,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'outlinks' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isOutlinksDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isOutlinksDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -641,7 +641,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'headers' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isHeadersDirty(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> value) { + public boolean isHeadersDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -664,7 +664,7 @@ public class WebPage extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'metadata' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetadataDirty(org.apache.gora.examples.generated.Metadata value) { + public boolean isMetadataDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java ---------------------------------------------------------------------- diff --git a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java index 134d688..d8396f9 100644 --- a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java +++ b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/CINode.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -120,7 +120,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'prev' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isPrevDirty(java.lang.Long value) { + public boolean isPrevDirty() { return isDirty(0); } @@ -144,7 +144,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'client' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isClientDirty(java.lang.CharSequence value) { + public boolean isClientDirty() { return isDirty(1); } @@ -168,7 +168,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Long value) { + public boolean isCountDirty() { return isDirty(2); } @@ -367,7 +367,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'prev' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isPrevDirty(java.lang.Long value) { + public boolean isPrevDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -390,7 +390,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'client' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isClientDirty(java.lang.CharSequence value) { + public boolean isClientDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -413,7 +413,7 @@ public class CINode extends org.apache.gora.persistency.impl.PersistentBase impl * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Long value) { + public boolean isCountDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java ---------------------------------------------------------------------- diff --git a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java index c6a2107..b5222cf 100644 --- a/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java +++ b/gora-goraci/src/main/java/org/apache/gora/goraci/generated/Flushed.java @@ -5,7 +5,7 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software @@ -110,7 +110,7 @@ public class Flushed extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Long value) { + public boolean isCountDirty() { return isDirty(0); } @@ -248,7 +248,7 @@ public class Flushed extends org.apache.gora.persistency.impl.PersistentBase imp * Checks the dirty status of the 'count' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isCountDirty(java.lang.Long value) { + public boolean isCountDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java ---------------------------------------------------------------------- diff --git a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java index 809d8a5..297100e 100644 --- a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java +++ b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/MetricDatum.java @@ -109,7 +109,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'metricDimension' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetricDimensionDirty(java.lang.CharSequence value) { + public boolean isMetricDimensionDirty() { return isDirty(0); } @@ -133,7 +133,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'timestamp' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isTimestampDirty(java.lang.Long value) { + public boolean isTimestampDirty() { return isDirty(1); } @@ -157,7 +157,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'metric' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetricDirty(java.lang.Long value) { + public boolean isMetricDirty() { return isDirty(2); } @@ -356,7 +356,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'metricDimension' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetricDimensionDirty(java.lang.CharSequence value) { + public boolean isMetricDimensionDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -379,7 +379,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'timestamp' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isTimestampDirty(java.lang.Long value) { + public boolean isTimestampDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } @@ -402,7 +402,7 @@ public class MetricDatum extends org.apache.gora.persistency.impl.PersistentBase * Checks the dirty status of the 'metric' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isMetricDirty(java.lang.Long value) { + public boolean isMetricDirty() { throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); } http://git-wip-us.apache.org/repos/asf/gora/blob/80d5d8d1/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java ---------------------------------------------------------------------- diff --git a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java index b1ecf24..3238db5 100644 --- a/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java +++ b/gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java @@ -134,7 +134,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isUrlDirty(java.lang.CharSequence value) { + public boolean isUrlDirty() { return isDirty(0); } @@ -158,7 +158,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'timestamp' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isTimestampDirty(java.lang.Long value) { + public boolean isTimestampDirty() { return isDirty(1); } @@ -182,7 +182,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'ip' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isIpDirty(java.lang.CharSequence value) { + public boolean isIpDirty() { return isDirty(2); } @@ -206,7 +206,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'httpMethod' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isHttpMethodDirty(java.lang.CharSequence value) { + public boolean isHttpMethodDirty() { return isDirty(3); } @@ -230,7 +230,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'httpStatusCode' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isHttpStatusCodeDirty(java.lang.Integer value) { + public boolean isHttpStatusCodeDirty() { return isDirty(4); } @@ -254,7 +254,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'responseSize' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isResponseSizeDirty(java.lang.Integer value) { + public boolean isResponseSizeDirty() { return isDirty(5); } @@ -278,7 +278,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'referrer' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isReferrerDirty(java.lang.CharSequence value) { + public boolean isReferrerDirty() { return isDirty(6); } @@ -302,7 +302,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im * Checks the dirty status of the 'userAgent' field. A field is dirty if it represents a change that has not yet been written to the database. * @param value the value to set. */ - public boolean isUserAgentDirty(java.lang.CharSequence value) { + public boolean isUserAgentDirty() { return isDirty(7); } @@ -623,7 +623,7 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im } public Pageview.Tombstone getTombstone(){ - return TOMBSTONE; + return TOMBSTONE; } public Pageview newInstance(){ @@ -636,191 +636,191 @@ public class Pageview extends org.apache.gora.persistency.impl.PersistentBase im private Tombstone() { } - /** - * Gets the value of the 'url' field. - */ - public java.lang.CharSequence getUrl() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'url' field. - * @param value the value to set. - */ - public void setUrl(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isUrlDirty(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'timestamp' field. - */ - public java.lang.Long getTimestamp() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'timestamp' field. - * @param value the value to set. - */ - public void setTimestamp(java.lang.Long value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'timestamp' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isTimestampDirty(java.lang.Long value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'ip' field. - */ - public java.lang.CharSequence getIp() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'ip' field. - * @param value the value to set. - */ - public void setIp(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'ip' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isIpDirty(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'httpMethod' field. - */ - public java.lang.CharSequence getHttpMethod() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'httpMethod' field. - * @param value the value to set. - */ - public void setHttpMethod(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'httpMethod' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isHttpMethodDirty(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'httpStatusCode' field. - */ - public java.lang.Integer getHttpStatusCode() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'httpStatusCode' field. - * @param value the value to set. - */ - public void setHttpStatusCode(java.lang.Integer value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'httpStatusCode' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isHttpStatusCodeDirty(java.lang.Integer value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'responseSize' field. - */ - public java.lang.Integer getResponseSize() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'responseSize' field. - * @param value the value to set. - */ - public void setResponseSize(java.lang.Integer value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'responseSize' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isResponseSizeDirty(java.lang.Integer value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'referrer' field. - */ - public java.lang.CharSequence getReferrer() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'referrer' field. - * @param value the value to set. - */ - public void setReferrer(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'referrer' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isReferrerDirty(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - /** - * Gets the value of the 'userAgent' field. - */ - public java.lang.CharSequence getUserAgent() { - throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); - } - - /** - * Sets the value of the 'userAgent' field. - * @param value the value to set. - */ - public void setUserAgent(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); - } - - /** - * Checks the dirty status of the 'userAgent' field. A field is dirty if it represents a change that has not yet been written to the database. - * @param value the value to set. - */ - public boolean isUserAgentDirty(java.lang.CharSequence value) { - throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); - } - - + /** + * Gets the value of the 'url' field. + */ + public java.lang.CharSequence getUrl() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'url' field. + * @param value the value to set. + */ + public void setUrl(java.lang.CharSequence value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'url' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isUrlDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'timestamp' field. + */ + public java.lang.Long getTimestamp() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'timestamp' field. + * @param value the value to set. + */ + public void setTimestamp(java.lang.Long value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'timestamp' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isTimestampDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'ip' field. + */ + public java.lang.CharSequence getIp() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'ip' field. + * @param value the value to set. + */ + public void setIp(java.lang.CharSequence value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'ip' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isIpDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'httpMethod' field. + */ + public java.lang.CharSequence getHttpMethod() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'httpMethod' field. + * @param value the value to set. + */ + public void setHttpMethod(java.lang.CharSequence value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'httpMethod' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isHttpMethodDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'httpStatusCode' field. + */ + public java.lang.Integer getHttpStatusCode() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'httpStatusCode' field. + * @param value the value to set. + */ + public void setHttpStatusCode(java.lang.Integer value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'httpStatusCode' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isHttpStatusCodeDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'responseSize' field. + */ + public java.lang.Integer getResponseSize() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'responseSize' field. + * @param value the value to set. + */ + public void setResponseSize(java.lang.Integer value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'responseSize' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isResponseSizeDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'referrer' field. + */ + public java.lang.CharSequence getReferrer() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'referrer' field. + * @param value the value to set. + */ + public void setReferrer(java.lang.CharSequence value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'referrer' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isReferrerDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + /** + * Gets the value of the 'userAgent' field. + */ + public java.lang.CharSequence getUserAgent() { + throw new java.lang.UnsupportedOperationException("Get is not supported on tombstones"); + } + + /** + * Sets the value of the 'userAgent' field. + * @param value the value to set. + */ + public void setUserAgent(java.lang.CharSequence value) { + throw new java.lang.UnsupportedOperationException("Set is not supported on tombstones"); + } + + /** + * Checks the dirty status of the 'userAgent' field. A field is dirty if it represents a change that has not yet been written to the database. + * @param value the value to set. + */ + public boolean isUserAgentDirty() { + throw new java.lang.UnsupportedOperationException("IsDirty is not supported on tombstones"); + } + + } }
