how about change the method name from getWriteSchema to getThriftStruct