Changeset 37551 for trunk/ippToPsps/jython/ipptopspsdb.py
- Timestamp:
- Nov 3, 2014, 2:41:20 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/ipptopspsdb.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/ipptopspsdb.py
r37246 r37551 756 756 757 757 self.execute(sql) 758 759 ''' 760 Inserts some forced detection metadata for this batch ID 761 ''' 762 def insertForcedWarpMeta(self, batchID, expID, filter): 763 764 sql = "INSERT INTO forcedwarp ( \ 765 batch_id \ 766 ,exp_id \ 767 ,filter \ 768 ) VALUES ( \ 769 " + str(batchID) + " \ 770 ," + str(expID) + " \ 771 ,'" + filter + "' \ 772 )" 773 774 self.execute(sql) 775 776 777 778 ''' 779 Inserts some forcedobject metadata for this batch ID 780 ''' 781 def insertForcedObjectMeta(self, batchID, region): 782 783 sql = "INSERT INTO forcedobject ( \ 784 batch_id \ 785 ,region \ 786 ) VALUES ( \ 787 " + str(batchID) + " \ 788 ,'" + region + "' \ 789 )" 790 791 self.execute(sql) 792 793 794 795 796 ''' 797 Inserts some diff metadata for this batch ID 798 ''' 799 def insertDiffMeta(self, batchID, filter, diffType): 800 801 sql = "INSERT INTO stack ( \ 802 batch_id \ 803 ,filter \ 804 ,diff_type \ 805 ) VALUES ( \ 806 " + str(batchID) + " \ 807 ,'" + filter + "' \ 808 ,'" + diffType + "')" 809 810 self.execute(sql) 811 812 813 814 815 ''' 816 Inserts some diffobject metadata for this batch ID 817 ''' 818 def insertDiffObjectMeta(self, batchID, region): 819 820 sql = "INSERT INTO diffobject ( \ 821 batch_id \ 822 ,region \ 823 ) VALUES ( \ 824 " + str(batchID) + " \ 825 ,'" + region + "' \ 826 )" 827 828 self.execute(sql) 829 830 831 832 833 834 758 835 ''' 759 836 Resets a batch ready for re-loading to the datastore
Note:
See TracChangeset
for help on using the changeset viewer.
