@@ -61,25 +61,25 @@ public void writeFileHeaders() {
61
61
62
62
List <String > dates2 = ImmutableList .of ("creationDate" , "deletionDate" );
63
63
64
- writers .get (FORUM ) .writeHeader (dates1 , ImmutableList .of ("id" , "title" , "ModeratorPerson.id " ));
65
- writers .get (FORUM_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("Forum.id " , "Tag.id " ));
66
- writers .get (FORUM_HASMEMBER_PERSON ) .writeHeader (dates1 , ImmutableList .of ("Forum.id " , "Person.id " ));
64
+ writers .get (FORUM ) .writeHeader (dates1 , ImmutableList .of ("id" , "title" , "ModeratorPersonId " ));
65
+ writers .get (FORUM_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("ForumId " , "TagId " ));
66
+ writers .get (FORUM_HASMEMBER_PERSON ) .writeHeader (dates1 , ImmutableList .of ("ForumId " , "PersonId " ));
67
67
68
- writers .get (POST ) .writeHeader (dates1 , ImmutableList .of ("id" , "imageFile" , "locationIP" , "browserUsed" , "language" , "content" , "length" , "CreatorPerson.id " , "ContainerForum.id " , "LocationCountry.id " ));
69
- writers .get (POST_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("Post.id " , "Tag.id " ));
68
+ writers .get (POST ) .writeHeader (dates1 , ImmutableList .of ("id" , "imageFile" , "locationIP" , "browserUsed" , "language" , "content" , "length" , "CreatorPersonId " , "ContainerForumId " , "LocationCountryId " ));
69
+ writers .get (POST_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("PostId " , "TagId " ));
70
70
71
- writers .get (COMMENT ) .writeHeader (dates1 , ImmutableList .of ("id" , "locationIP" , "browserUsed" , "content" , "length" , "CreatorPerson.id " , "LocationCountry.id " , "ParentPost.id " , "ParentComment.id " ));
72
- writers .get (COMMENT_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("Comment.id " , "Tag.id " ));
71
+ writers .get (COMMENT ) .writeHeader (dates1 , ImmutableList .of ("id" , "locationIP" , "browserUsed" , "content" , "length" , "CreatorPersonId " , "LocationCountryId " , "ParentPostId " , "ParentCommentId " ));
72
+ writers .get (COMMENT_HASTAG_TAG ) .writeHeader (dates2 , ImmutableList .of ("CommentId " , "TagId " ));
73
73
74
- writers .get (PERSON_LIKES_POST ) .writeHeader (dates1 , ImmutableList .of ("Person.id " , "Post.id " ));
75
- writers .get (PERSON_LIKES_COMMENT ) .writeHeader (dates1 , ImmutableList .of ("Person.id " , "Comment.id " ));
74
+ writers .get (PERSON_LIKES_POST ) .writeHeader (dates1 , ImmutableList .of ("PersonId " , "PostId " ));
75
+ writers .get (PERSON_LIKES_COMMENT ) .writeHeader (dates1 , ImmutableList .of ("PersonId " , "CommentId " ));
76
76
77
77
}
78
78
79
79
public void serialize (final Forum forum ) {
80
80
List <String > dates = ImmutableList .of (formatDateTime (forum .getCreationDate ()), formatDateTime (forum .getDeletionDate ()), String .valueOf (forum .isExplicitlyDeleted ()));
81
81
82
- // creationDate, deletionDate, explicitlyDeleted, id, title, ModeratorPerson.id
82
+ // creationDate, deletionDate, explicitlyDeleted, id, title, ModeratorPersonId
83
83
writers .get (FORUM ).writeEntry (dates , ImmutableList .of (
84
84
Long .toString (forum .getId ()),
85
85
forum .getTitle (),
@@ -88,7 +88,7 @@ public void serialize(final Forum forum) {
88
88
89
89
List <String > dates2 = ImmutableList .of (formatDateTime (forum .getCreationDate ()), formatDateTime (forum .getDeletionDate ()));
90
90
for (Integer i : forum .getTags ()) {
91
- // creationDate, deletionDate, Forum.id, Tag.id
91
+ // creationDate, deletionDate, ForumId, TagId
92
92
writers .get (FORUM_HASTAG_TAG ).writeEntry (dates2 , ImmutableList .of (
93
93
Long .toString (forum .getId ()),
94
94
Integer .toString (i )
@@ -100,7 +100,7 @@ public void serialize(final Forum forum) {
100
100
public void serialize (final Post post ) {
101
101
List <String > dates1 = ImmutableList .of (formatDateTime (post .getCreationDate ()), formatDateTime (post .getDeletionDate ()), String .valueOf (post .isExplicitlyDeleted ()));
102
102
103
- // creationDate, deletionDate, explicitlyDeleted, id, imageFile, locationIP, browserUsed, language, content, length, CreatorPerson.id, ContainerForum.id, LocationCountry.id
103
+ // creationDate, deletionDate, explicitlyDeleted, id, imageFile, locationIP, browserUsed, language, content, length, CreatorPersonId, ContainerForumId, LocationCountryId
104
104
writers .get (POST ).writeEntry (dates1 , ImmutableList .of (
105
105
Long .toString (post .getMessageId ()),
106
106
"" ,
@@ -117,7 +117,7 @@ public void serialize(final Post post) {
117
117
List <String > dates2 = ImmutableList .of (formatDateTime (post .getCreationDate ()), formatDateTime (post .getDeletionDate ()));
118
118
119
119
for (Integer t : post .getTags ()) {
120
- // creationDate, deletionDate, Post.id, Tag.id
120
+ // creationDate, deletionDate, PostId, TagId
121
121
writers .get (POST_HASTAG_TAG ).writeEntry (dates2 , ImmutableList .of (
122
122
Long .toString (post .getMessageId ()),
123
123
Integer .toString (t )
@@ -128,7 +128,7 @@ public void serialize(final Post post) {
128
128
public void serialize (final Comment comment ) {
129
129
List <String > dates1 = ImmutableList .of (formatDateTime (comment .getCreationDate ()), formatDateTime (comment .getDeletionDate ()), String .valueOf (comment .isExplicitlyDeleted ()));
130
130
131
- // creationDate, deletionDate, explicitlyDeleted, id, locationIP, browserUsed, content, length, CreatorPerson.id, LocationCountry.id, ParentPost.id, ParentComment.id
131
+ // creationDate, deletionDate, explicitlyDeleted, id, locationIP, browserUsed, content, length, CreatorPersonId, LocationCountryId, ParentPostId, ParentCommentId
132
132
writers .get (COMMENT ).writeEntry (dates1 , ImmutableList .of (
133
133
Long .toString (comment .getMessageId ()),
134
134
comment .getIpAddress ().toString (),
@@ -143,7 +143,7 @@ public void serialize(final Comment comment) {
143
143
144
144
List <String > dates2 = ImmutableList .of (formatDateTime (comment .getCreationDate ()), formatDateTime (comment .getDeletionDate ()));
145
145
for (Integer t : comment .getTags ()) {
146
- // creationDate, deletionDate, Comment.id, Tag.id
146
+ // creationDate, deletionDate, CommentId, TagId
147
147
writers .get (COMMENT_HASTAG_TAG ).writeEntry (dates2 , ImmutableList .of (
148
148
Long .toString (comment .getMessageId ()),
149
149
Integer .toString (t )
@@ -154,7 +154,7 @@ public void serialize(final Comment comment) {
154
154
public void serialize (final Photo photo ) {
155
155
List <String > dates1 = ImmutableList .of (formatDateTime (photo .getCreationDate ()), formatDateTime (photo .getDeletionDate ()), String .valueOf (photo .isExplicitlyDeleted ()));
156
156
157
- // creationDate, deletionDate, explicitlyDeleted, id, imageFile, locationIP, browserUsed, language, content, length, CreatorPerson.id, ContainerForum.id, LocationCountry.id
157
+ // creationDate, deletionDate, explicitlyDeleted, id, imageFile, locationIP, browserUsed, language, content, length, CreatorPersonId, ContainerForumId, LocationCountryId
158
158
writers .get (POST ).writeEntry (dates1 , ImmutableList .of (
159
159
Long .toString (photo .getMessageId ()),
160
160
photo .getContent (),
@@ -170,7 +170,7 @@ public void serialize(final Photo photo) {
170
170
171
171
List <String > dates2 = ImmutableList .of (formatDateTime (photo .getCreationDate ()), formatDateTime (photo .getDeletionDate ()));
172
172
for (Integer t : photo .getTags ()) {
173
- // creationDate, deletionDate, Post.id, Tag.id
173
+ // creationDate, deletionDate, PostId, TagId
174
174
writers .get (POST_HASTAG_TAG ).writeEntry (dates2 , ImmutableList .of (
175
175
Long .toString (photo .getMessageId ()),
176
176
Integer .toString (t )
@@ -181,7 +181,7 @@ public void serialize(final Photo photo) {
181
181
public void serialize (final ForumMembership membership ) {
182
182
List <String > dates = ImmutableList .of (formatDateTime (membership .getCreationDate ()), formatDateTime (membership .getDeletionDate ()), String .valueOf (membership .isExplicitlyDeleted ()));
183
183
184
- // creationDate, deletionDate, explicitlyDeleted, Forum.id, Person.id
184
+ // creationDate, deletionDate, explicitlyDeleted, ForumId, PersonId
185
185
writers .get (FORUM_HASMEMBER_PERSON ).writeEntry (dates , ImmutableList .of (
186
186
Long .toString (membership .getForumId ()),
187
187
Long .toString (membership .getPerson ().getAccountId ())
@@ -191,9 +191,9 @@ public void serialize(final ForumMembership membership) {
191
191
public void serialize (final Like like ) {
192
192
List <String > dates = ImmutableList .of (formatDateTime (like .getCreationDate ()), formatDateTime (like .getDeletionDate ()), String .valueOf (like .isExplicitlyDeleted ()));
193
193
194
- // creationDate, deletionDate, explicitlyDeleted, Person.id, Post.id
194
+ // creationDate, deletionDate, explicitlyDeleted, PersonId, PostId
195
195
// or
196
- // creationDate, deletionDate, explicitlyDeleted, Person.id, Comment.id
196
+ // creationDate, deletionDate, explicitlyDeleted, PersonId, CommentId
197
197
List <String > arguments = ImmutableList .of (
198
198
Long .toString (like .getPerson ()),
199
199
Long .toString (like .getMessageId ())
0 commit comments