Package ru.curs.celesta.score
Class CelestaSerializer
java.lang.Object
ru.curs.celesta.score.CelestaSerializer
Serializes grain and its components to CelestaSQL.
The class name reflects its counterpart - CelestaParser
- Since:
- 2019-03-07
- Author:
- Pavel Perminov (packpaul@mail.ru)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CelestaSerializer
-
-
Method Details
-
toQueryString
Returns a query based on which the view is going to be created.- Parameters:
v- view- Returns:
- Throws:
IOException- if query creation fails
-
save
Serializes grain part to its CelestaSQL representation.- Parameters:
gp- grain part- Throws:
IOException- if serialization fails
-
save
Serializes grain to its CelestaSQL representation.- Parameters:
grain- grain- Throws:
IOException- if serialization fails
-