Use int64_t instead of Int64.
Add missing arguments to get error information.
Add methods to set sort conditions.